f1module Cisco-IOS-XR-um-router-bgp-cfg {f1module Cisco-IOS-XR-um-router-bgp-cfg {
2  namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-um-router-bgp-cfg";2  namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-um-router-bgp-cfg";
3  prefix um-router-bgp-cfg;3  prefix um-router-bgp-cfg;
44
5  import Cisco-IOS-XR-types {5  import Cisco-IOS-XR-types {
6    prefix xr;6    prefix xr;
7  }7  }
8  import ietf-inet-types {8  import ietf-inet-types {
9    prefix inet;9    prefix inet;
10  }10  }
11  import Cisco-IOS-XR-um-snmp-server-cfg {11  import Cisco-IOS-XR-um-snmp-server-cfg {
12    prefix a1;12    prefix a1;
13  }13  }
14  import Cisco-IOS-XR-um-vrf-cfg {14  import Cisco-IOS-XR-um-vrf-cfg {
15    prefix a2;15    prefix a2;
n16  }n
17  import cisco-semver {
18    prefix semver;
19  }16  }
2017
21  organization18  organization
22    "Cisco Systems, Inc.";19    "Cisco Systems, Inc.";
23  contact20  contact
24    "Cisco Systems, Inc.21    "Cisco Systems, Inc.
25     Customer Service22     Customer Service
26     23     
27     Postal: 170 West Tasman Drive24     Postal: 170 West Tasman Drive
28     San Jose, CA 9513425     San Jose, CA 95134
29     26     
30     Tel: +1 800 553-NETS27     Tel: +1 800 553-NETS
31     28     
32     E-mail: cs-yang@cisco.com";29     E-mail: cs-yang@cisco.com";
33  description30  description
34    "This module contains a collection of YANG definitions31    "This module contains a collection of YANG definitions
35     for Cisco IOS-XR router-bgp package configuration.32     for Cisco IOS-XR router-bgp package configuration.
36     33     
37     This YANG module augments the34     This YANG module augments the
38     modules with configuration data.35     modules with configuration data.
39     36     
40     Copyright (c) 2019-2024 by Cisco Systems, Inc.37     Copyright (c) 2019-2024 by Cisco Systems, Inc.
41     All rights reserved.";38     All rights reserved.";
4239
43  revision 2024-03-10 {40  revision 2024-03-10 {
44    description41    description
45      "Changed prefix-download-delay leaf to prefix-ecmp-delay42      "Changed prefix-download-delay leaf to prefix-ecmp-delay
n46       Changed oor-delay leaf to oor-thresholdn43       Changed oor-delay leaf to oor-threshold";
47       2024-02-2144  }
45  revision 2024-02-21 {
46    description
48         Update help section of description for neighbor47      "Update help section of description for neighbor";
49       2024-02-1048  }
49  revision 2024-02-10 {
50    description
50         Added tcp ip-only-preferred51      "Added tcp ip-only-preferred";
51       2024-01-3152  }
53  revision 2024-01-31 {
54    description
52         Removed deprecated policy container under route-monitoring55      "Removed deprecated policy container under route-monitoring";
53       2024-01-2356  }
57  revision 2024-01-23 {
58    description
54         Updated containers for export to vrf allow-imported-vpn59      "Updated containers for export to vrf allow-imported-vpn
55       disable-adv-source-vrf-vni allow backup best-external60       disable-adv-source-vrf-vni allow backup best-external";
56       2024-01-1861  }
62  revision 2024-01-18 {
63    description
57         BGP neighbor level fast-fallover for both IBGP and EBGP64      "BGP neighbor level fast-fallover for both IBGP and EBGP";
58       2024-01-1665  }
66  revision 2024-01-16 {
67    description
59         Added prefix-download-delay68      "Added prefix-download-delay";
60       2023-12-2169  }
70  revision 2023-12-21 {
71    description
61         Addpath support to limit additional-paths with additional-paths advertise-limit72      "Addpath support to limit additional-paths with additional-paths advertise-limit";
62       2023-12-1373  }
74  revision 2023-12-13 {
75    description
63         Added leaf route-policy under global non-afi container optimal-route-reflection76      "Added leaf route-policy under global non-afi container optimal-route-reflection";
64       2023-12-0877  }
78  revision 2023-12-08 {
79    description
65         Updated containers for import from vrf advertise-as-vpn allow backup best-external80      "Updated containers for import from vrf advertise-as-vpn allow backup best-external";
66       2023-12-0381  }
82  revision 2023-12-03 {
83    description
67         Updated sch-pathnames for next-hop-self84      "Updated sch-pathnames for next-hop-self";
68       2023-08-0485  }
86  revision 2023-08-04 {
87    description
69         Added MPLS-VPN label mode per-vrf-46 option88      "Added MPLS-VPN label mode per-vrf-46 option";
70       2023-07-1289  }
90  revision 2023-07-12 {
91    description
71         Support for allocate-secondary-label92      "Support for allocate-secondary-label";
72       2023-06-0593  }
94  revision 2023-06-05 {
95    description
73         Support for local aggregates OC96      "Support for local aggregates OC";
74       2023-05-0197  }
98  revision 2023-05-01 {
99    description
75         Added per-vrf-46 segment-routing srv6 alloc mode100      "Added per-vrf-46 segment-routing srv6 alloc mode";
76       2023-04-18101  }
102  revision 2023-04-18 {
103    description
77         1. Added allowconfedas-in leaf104      "1. Added allowconfedas-in leaf
78       2. Added nexthop route-policy under vrf leafs105       2. Added nexthop route-policy under vrf leafs";
79       2023-03-15106  }
107  revision 2023-03-15 {
108    description
80         Added segment-routing SRv6 uSID allocate from109      "Added segment-routing SRv6 uSID allocate from
81       WLIB110       WLIB";
82       2023-02-27111  }
112  revision 2023-02-27 {
113    description
83         Added maximum-paths route-policy and eibgp equal-cost leaf114      "Added maximum-paths route-policy and eibgp equal-cost leaf";
84       2023-02-06115  }
116  revision 2023-02-06 {
117    description
85         Added LPTS secure binding leaf118      "Added LPTS secure binding leaf";
86       2023-01-25119  }
120  revision 2023-01-25 {
121    description
87         Support for update in error-handling122      "Support for update in error-handling";
88       2022-12-13123  }
124  revision 2022-12-13 {
125    description
89         Support for evpn-link-bandwidth126      "Support for evpn-link-bandwidth";
90       2022-12-09127  }
128  revision 2022-12-09 {
129    description
91         Added OC-BGP neighbor logging and addpath130      "Added OC-BGP neighbor logging and addpath";
92       2022-12-08131  }
132  revision 2022-12-08 {
133    description
93         1. Added OC-BGP restart timer134      "1. Added OC-BGP restart timer
94       2. Added EVPN host import knobs under AF v4/v6 of135       2. Added EVPN host import knobs under AF v4/v6 of
n95       global VRF.n136          global VRF.";
96       2022-11-05137  }
138  revision 2022-11-05 {
139    description
97         Updated slow-peer static and dynamic leafs140      "Updated slow-peer static and dynamic leafs";
98       2022-10-04141  }
142  revision 2022-10-04 {
143    description
99         Added OC-BGP replace-private-as144      "Added OC-BGP replace-private-as";
100       2022-09-23145  }
146  revision 2022-09-23 {
147    description
101         Added BMP route-monitoring suport for L3VPN inbound post-policy148      "Added BMP route-monitoring suport for L3VPN inbound post-policy
102       and Local RIB,149       and Local RIB,
n103       Deprecated container policy under route-monitoringn150       Deprecated container policy under route-monitoring";
104       2022-09-19151  }
152  revision 2022-09-19 {
153    description
105         Added EVPN Gateway IP disable154      "Added EVPN Gateway IP disable";
106       2022-08-16155  }
156  revision 2022-08-16 {
157    description
107         Updated slow-peer feature158      "Updated slow-peer feature";
108       2022-07-14159  }
160  revision 2022-07-14 {
161    description
109         Added OC-BGP mtu-discovery162      "Added OC-BGP mtu-discovery";
110       2022-07-11163  }
164  revision 2022-07-11 {
165    description
111         Added missing description statement to nodes166      "Added missing description statement to nodes";
112       2022-06-20167  }
168  revision 2022-06-20 {
169    description
113         Added delay/startup support under wait-install170      "Added delay/startup support under wait-install";
114       2022-03-03171  }
172  revision 2022-03-03 {
173    description
115         Added leaf percentage-threshold-high under bandwidth-aware174      "Added leaf percentage-threshold-high under bandwidth-aware";
116       2022-02-18175  }
176  revision 2022-02-18 {
177    description
117         Updated maximum-paths ebgp/eibgp and ibgp to remove unused container 'order' and fix pack format178      "Updated maximum-paths ebgp/eibgp and ibgp to remove unused container 'order' and fix pack format";
118       2021-10-20179  }
180  revision 2021-10-20 {
181    description
119         Added force node under sr-policy";182      "Added force node under sr-policy";
120    semver:module-version "5.0.0";
121  }183  }
122  revision 2021-10-19 {184  revision 2021-10-19 {
123    description185    description
n124      "Added leaf flex-algo under container optimal-route-reflectionn186      "Added leaf flex-algo under container optimal-route-reflection";
125       2021-09-21187  }
188  revision 2021-09-21 {
189    description
126          Added retention under route-policy190      "Added retention under route-policy";
127       2021-08-27191  }
192  revision 2021-08-27 {
193    description
128          Increase maximum-paths ebgp range to 1024,194      "Increase maximum-paths ebgp range to 1024,
129        Added preference  under rpki/server,195        Added preference  under rpki/server,
130        Added datafile under rpki,196        Added datafile under rpki,
131        Added unique-nexthop-check-disable under maximum-paths,197        Added unique-nexthop-check-disable under maximum-paths,
n132        Added table-version under address-familyn198        Added table-version under address-family";
133       2021-08-23199  }
200  revision 2021-08-23 {
201    description
134          Added epe-bgp/labeled-unicast under advertise and epe/backup/enable202      "Added epe-bgp/labeled-unicast under advertise and epe/backup/enable
135        Added deterministic under unequal-cost of maximum-paths203       Added deterministic under unequal-cost of maximum-paths
136        Added container export under address family204       Added container export under address family
137        Added leaf route-policy under srv6/alloc205       Added leaf route-policy under srv6/alloc
138        Added container bandwidth-aware206       Added container bandwidth-aware
139        Added leaf route-policy under srv6/alloc of vrfs207       Added leaf route-policy under srv6/alloc of vrfs
140        Added node deterministic under unequal-cost of maximum-paths/address family208       Added node deterministic under unequal-cost of maximum-paths/address family";
141       2021-07-29209  }
210  revision 2021-07-29 {
211    description
142          Removed duplicate enforce-first-as-disable which serve same as enforce-first-as/disable";212      "Removed duplicate enforce-first-as-disable which serve same as enforce-first-as/disable";
143    semver:module-version "4.0.0";
144  }213  }
145  revision 2021-05-31 {214  revision 2021-05-31 {
146    description215    description
n147      "Added must statement under list instances router->bgpn216      "Added must statement under list instances router->bgp";
148       2021-03-15217  }
218  revision 2021-03-15 {
219    description
149           Added sr-policy under router-bgp->bgp->bestpath and220      "Added sr-policy under router-bgp->bgp->bestpath and
150         router-bgp->vrf->bgp->bestpath221       router-bgp->vrf->bgp->bestpath";
151       2021-02-25222  }
223  revision 2021-02-25 {
224    description
152           Added multipath container under vrf->neighbors->address-family225      "Added multipath container under vrf->neighbors->address-family";
153       2021-02-17226  }
227  revision 2021-02-17 {
228    description
154           Added must constraints in af-group list229      "Added must constraints in af-group list";
155       2021-02-11230  }
231  revision 2021-02-11 {
232    description
156           Removed presence statement from match node under eigrp container233      "Removed presence statement from match node under eigrp container";
157       2021-02-10234  }
235  revision 2021-02-10 {
236    description
158           Added labeled-unicast under best-external237      "Added labeled-unicast under best-external";
159       2021-02-04238  }
239  revision 2021-02-04 {
240    description
160           Added sr-policy under nexthop & igp-metric241      "Added sr-policy under nexthop & igp-metric";
161       2021-02-03242  }
243  revision 2021-02-03 {
244    description
162           Added container option-b-asbr-only245      "Added container option-b-asbr-only ";
163       2020-11-16246  }
247  revision 2020-11-16 {
248    description
164           Added srte-metric and validation under nexthop249      "Added srte-metric and validation under nexthop";
165       2020-11-10250  }
251  revision 2020-11-10 {
252    description
166           Added mask-length under local-address-subnet as needed253      "Added mask-length under local-address-subnet as needed";
167       2020-10-22254  }
255  revision 2020-10-22 {
256    description
168           Added rpki-dropped-only/rpki-tested-only under257      "Added rpki-dropped-only/rpki-tested-only under
169         soft-reconfiguration/inbound. Updated must statements accordingly258       soft-reconfiguration/inbound. Updated must statements accordingly
170         to define proper constraints with new nodes.259       to define proper constraints with new nodes.";
171       2020-09-30260  }
261  revision 2020-09-30 {
262    description
172           Added multipath under neighbor address-family263      "Added multipath under neighbor address-family";
173       2020-08-12264  }
265  revision 2020-08-12 {
266    description
174           Added route-target container under retain.267      "Added route-target container under retain.
175         Added per-nexthop-received-label under mode.268       Added per-nexthop-received-label under mode.
176         Added appropriate when statements under retain/mode containers.269       Added appropriate when statements under retain/mode containers.
177         Removed per-prefix under vrf as it's not supported.270       Removed per-prefix under vrf as it's not supported.";
178       2020-08-05271  }
272  revision 2020-08-05 {
273    description
179           Added some must statements as needed274      "Added some must statements as needed";
180       2020-07-30275  }
276  revision 2020-07-30 {
277    description
181           Added when statement to local-labeled-route under address-family278      "Added when statement to local-labeled-route under address-family
182         hierarchy and removed one presence statement as needed";279       hierarchy and removed one presence statement as needed";
183    semver:module-version "3.0.0";
184  }280  }
185  revision 2020-07-24 {281  revision 2020-07-24 {
186    description282    description
187      "Added internal under remove-private-as. Also added must statements283      "Added internal under remove-private-as. Also added must statements
n188         under remove-private-as as appropriate.n284       under remove-private-as as appropriate.";
189       2020-06-05
190         Removed unused nodes from vrf address-family
191         Added constraint to nodes under as-format
192       2020-05-17
193         (1) Added enable/label-mode under as
194         (2) Added srv6 under encapsulation-type
195         (3) Added vpnv4/vpnv6/l2vpn nodes under advertise
196         (4) Added segment-routing node under neighbors/neighbor/address-family
197         (5) Changed integer range of multipath, message-log-buffer-size, purge-time
198         (6) Added minimum-ipv6 node under nexthop/resolution/prefix-length
199         (7) Changed sysdb path of log node and its chilren
200         (8) Changed sysdb path of suppress node and its children
201         (9) Added extended-nexthop-encoding node under suppress
202         (10) Added update node under neighbor-group/address-families/address-family
203         (11) Added retain-nbr-routes under graceful-restart
204       
205       2020-04-14
206         Added rd augment to vrf model
207       2020-03-13
208         Added corresponding nodes for peer-set-id, adjacencies,
209         peer-set and peer-node-sid";
210    semver:module-version "2.0.0";
211  }285  }
n212  revision 2019-06-10 {n286  revision 2020-07-21 {
213    description287    description
t214      "Establish semantic version baseline.";t288      "Added apply and fallback-default-bestpath container under
215    semver:module-version "1.0.0";289       address-family optimal-route-reflection. Also removed mandatory and
290       added must statements under address-family optimal-reoute-reflection.
291       Added optimal-route-reflection container under global and vrf global";
292  }
293  revision 2020-06-05 {
294    description
295      "Removed unused nodes from vrf address-family
296       Added constraint to nodes under as-format";
297  }
298  revision 2020-05-18 {
299    description
300      "(1) Added enable/label-mode under as
301       (2) Added srv6 under encapsulation-type
302       (3) Added vpnv4/vpnv6/l2vpn nodes under advertise
303       (4) Added segment-routing node under neighbors/neighbor/address-family
304       (5) Changed integer range of multipath, message-log-buffer-size, purge-time
305       (6) Added minimum-ipv6 node under nexthop/resolution/prefix-length
306       (7) Added event node under address-family
307       (8) Added slow-peer under neighbor/address-families/address-family
308       (9) Added extended-nexthop-encoding node under suppress
309       (10) Added update node under neighbor-group/address-families/address-family
310       (11) Added retain-nbr-routes under graceful-restart
311      ";
312  }
313  revision 2020-04-14 {
314    description
315      "Added rd augment to vrf model";
316  }
317  revision 2020-03-13 {
318    description
319      "Added corresponding nodes for peer-set-id, adjacencies,
320       peer-set and peer-node-sid";
216  }321  }
217  revision 2019-03-30 {322  revision 2019-03-30 {
218    description323    description
219      "Initial version";324      "Initial version";
220  }325  }
221326
222  typedef Bgp-address-family {327  typedef Bgp-address-family {
223    type enumeration {328    type enumeration {
224      enum "ipv4-unicast" {329      enum "ipv4-unicast" {
225        value 0;330        value 0;
226        description331        description
227          "IPv4 unicast";332          "IPv4 unicast";
228      }333      }
229      enum "ipv4-multicast" {334      enum "ipv4-multicast" {
230        value 1;335        value 1;
231        description336        description
232          "IPv4 multicast";337          "IPv4 multicast";
233      }338      }
234      enum "ipv4-labeled-unicast" {339      enum "ipv4-labeled-unicast" {
235        value 2;340        value 2;
236        description341        description
237          "IPv4 labeled-unicast";342          "IPv4 labeled-unicast";
238      }343      }
239      enum "ipv4-tunnel" {344      enum "ipv4-tunnel" {
240        value 3;345        value 3;
241        description346        description
242          "IPv4 tunnel";347          "IPv4 tunnel";
243      }348      }
244      enum "vpnv4-unicast" {349      enum "vpnv4-unicast" {
245        value 4;350        value 4;
246        description351        description
247          "VPNv4 unicast";352          "VPNv4 unicast";
248      }353      }
249      enum "ipv6-unicast" {354      enum "ipv6-unicast" {
250        value 5;355        value 5;
251        description356        description
252          "IPv6 unicast";357          "IPv6 unicast";
253      }358      }
254      enum "ipv6-multicast" {359      enum "ipv6-multicast" {
255        value 6;360        value 6;
256        description361        description
257          "IPv6 multicast";362          "IPv6 multicast";
258      }363      }
259      enum "ipv6-labeled-unicast" {364      enum "ipv6-labeled-unicast" {
260        value 7;365        value 7;
261        description366        description
262          "IPv6 labeled-unicast";367          "IPv6 labeled-unicast";
263      }368      }
264      enum "vpnv6-unicast" {369      enum "vpnv6-unicast" {
265        value 8;370        value 8;
266        description371        description
267          "VPNv6 unicast";372          "VPNv6 unicast";
268      }373      }
269      enum "ipv4-mdt" {374      enum "ipv4-mdt" {
270        value 9;375        value 9;
271        description376        description
272          "IPv4 MDT";377          "IPv4 MDT";
273      }378      }
274      enum "l2vpn-vpls-vpws" {379      enum "l2vpn-vpls-vpws" {
275        value 10;380        value 10;
276        description381        description
277          "L2VPN VPLS-VPWS";382          "L2VPN VPLS-VPWS";
278      }383      }
279      enum "ipv4-rt-filter" {384      enum "ipv4-rt-filter" {
280        value 11;385        value 11;
281        description386        description
282          "IPv4 rt-filter";387          "IPv4 rt-filter";
283      }388      }
284      enum "ipv4-mvpn" {389      enum "ipv4-mvpn" {
285        value 12;390        value 12;
286        description391        description
287          "IPv4 MVPN";392          "IPv4 MVPN";
288      }393      }
289      enum "ipv6-mvpn" {394      enum "ipv6-mvpn" {
290        value 13;395        value 13;
291        description396        description
292          "IPv6 MVPN";397          "IPv6 MVPN";
293      }398      }
294      enum "l2vpn-evpn" {399      enum "l2vpn-evpn" {
295        value 14;400        value 14;
296        description401        description
297          "L2VPN EVPN";402          "L2VPN EVPN";
298      }403      }
299      enum "link-state-link-state" {404      enum "link-state-link-state" {
300        value 15;405        value 15;
301        description406        description
302          "Link-state link-state";407          "Link-state link-state";
303      }408      }
304      enum "vpnv4-multicast" {409      enum "vpnv4-multicast" {
305        value 16;410        value 16;
306        description411        description
307          "VPNv4 Multicast";412          "VPNv4 Multicast";
308      }413      }
309      enum "vpnv6-multicast" {414      enum "vpnv6-multicast" {
310        value 17;415        value 17;
311        description416        description
312          "VPNv6 Multicast";417          "VPNv6 Multicast";
313      }418      }
314      enum "ipv4-flowspec" {419      enum "ipv4-flowspec" {
315        value 18;420        value 18;
316        description421        description
317          "IPv4 flowspec";422          "IPv4 flowspec";
318      }423      }
319      enum "ipv6-flowspec" {424      enum "ipv6-flowspec" {
320        value 19;425        value 19;
321        description426        description
322          "IPv6 flowspec";427          "IPv6 flowspec";
323      }428      }
324      enum "vpnv4-flowspec" {429      enum "vpnv4-flowspec" {
325        value 20;430        value 20;
326        description431        description
327          "VPNv4 flowspec";432          "VPNv4 flowspec";
328      }433      }
329      enum "vpnv6-flowspec" {434      enum "vpnv6-flowspec" {
330        value 21;435        value 21;
331        description436        description
332          "VPNv6 flowspec";437          "VPNv6 flowspec";
333      }438      }
334      enum "l2vpn-mspw" {439      enum "l2vpn-mspw" {
335        value 22;440        value 22;
336        description441        description
337          "L2VPN MSPW";442          "L2VPN MSPW";
338      }443      }
339      enum "ipv4-sr-policy" {444      enum "ipv4-sr-policy" {
340        value 23;445        value 23;
341        description446        description
342          "IPv4 SRPolicy";447          "IPv4 SRPolicy";
343      }448      }
344      enum "ipv6-sr-policy" {449      enum "ipv6-sr-policy" {
345        value 24;450        value 24;
346        description451        description
347          "IPv6 SRPolicy";452          "IPv6 SRPolicy";
348      }453      }
349      enum "all-address-family" {454      enum "all-address-family" {
350        value 25;455        value 25;
351        description456        description
352          "All Address Families";457          "All Address Families";
353      }458      }
354    }459    }
355    description460    description
356      "Bgp address family";461      "Bgp address family";
357  }462  }
358463
359  typedef Bgp-attribute-code {464  typedef Bgp-attribute-code {
360    type union {465    type union {
361      type uint32 {466      type uint32 {
362        range "0 | 4..14";467        range "0 | 4..14";
363      }468      }
364      type uint32 {469      type uint32 {
365        range "6..255";470        range "6..255";
366      }471      }
367      type enumeration {472      type enumeration {
368        enum "AGGREGATOR" {473        enum "AGGREGATOR" {
369          value 7;474          value 7;
370          description475          description
371            "Aggregator attribute (7)";476            "Aggregator attribute (7)";
372        }477        }
373        enum "AIGP" {478        enum "AIGP" {
374          value 26;479          value 26;
375          description480          description
376            "AIGP attribute (26)";481            "AIGP attribute (26)";
377        }482        }
378        enum "AS4-AGGREGATOR" {483        enum "AS4-AGGREGATOR" {
379          value 18;484          value 18;
380          description485          description
381            "AS4_AGGREGATOR attribute (18)";486            "AS4_AGGREGATOR attribute (18)";
382        }487        }
383        enum "AS4-PATH" {488        enum "AS4-PATH" {
384          value 17;489          value 17;
385          description490          description
386            "AS4_PATH attribute (17)";491            "AS4_PATH attribute (17)";
387        }492        }
388        enum "ATOMIC-AGGREGATE" {493        enum "ATOMIC-AGGREGATE" {
389          value 6;494          value 6;
390          description495          description
391            "Atomic aggrgate attribute (6)";496            "Atomic aggrgate attribute (6)";
392        }497        }
393        enum "ATTRSET" {498        enum "ATTRSET" {
394          value 128;499          value 128;
395          description500          description
396            "ATTR_SET attribute (128)";501            "ATTR_SET attribute (128)";
397        }502        }
398        enum "CLUSTER-LIST" {503        enum "CLUSTER-LIST" {
399          value 10;504          value 10;
400          description505          description
401            "Cluster List attribute (10)";506            "Cluster List attribute (10)";
402        }507        }
403        enum "COMMUNITY" {508        enum "COMMUNITY" {
404          value 8;509          value 8;
405          description510          description
406            "Community attribute (8)";511            "Community attribute (8)";
407        }512        }
408        enum "CONNECTOR" {513        enum "CONNECTOR" {
409          value 20;514          value 20;
410          description515          description
411            "Connector attribute (20)";516            "Connector attribute (20)";
412        }517        }
413        enum "EXTENDED-COMMUNITIES" {518        enum "EXTENDED-COMMUNITIES" {
414          value 16;519          value 16;
415          description520          description
416            "Extended community attribute (16)";521            "Extended community attribute (16)";
417        }522        }
418        enum "LARGE-COMMUNITY" {523        enum "LARGE-COMMUNITY" {
419          value 32;524          value 32;
420          description525          description
421            "Large Community attribute (32)";526            "Large Community attribute (32)";
422        }527        }
423        enum "LOCAL-PREF" {528        enum "LOCAL-PREF" {
424          value 5;529          value 5;
425          description530          description
426            "Local Preference attribute (5)";531            "Local Preference attribute (5)";
427        }532        }
428        enum "LSATTR" {533        enum "LSATTR" {
429          value 29;534          value 29;
430          description535          description
431            "Link-state attribute (29)";536            "Link-state attribute (29)";
432        }537        }
433        enum "MULTI-EXIT-DISC" {538        enum "MULTI-EXIT-DISC" {
434          value 4;539          value 4;
435          description540          description
436            "MED attribute (4)";541            "MED attribute (4)";
437        }542        }
438        enum "ORIGINATOR-ID" {543        enum "ORIGINATOR-ID" {
439          value 9;544          value 9;
440          description545          description
441            "Originator attribute (9)";546            "Originator attribute (9)";
442        }547        }
443        enum "PMSI-TUNNEL" {548        enum "PMSI-TUNNEL" {
444          value 22;549          value 22;
445          description550          description
446            "PMSI Tunnel attribute (22)";551            "PMSI Tunnel attribute (22)";
447        }552        }
448        enum "PPMP" {553        enum "PPMP" {
449          value 70;554          value 70;
450          description555          description
451            "PPMP attribute (70)";556            "PPMP attribute (70)";
452        }557        }
453        enum "PREFIX-SID" {558        enum "PREFIX-SID" {
454          value 40;559          value 40;
455          description560          description
456            "Prefix-SID attribute (40)";561            "Prefix-SID attribute (40)";
457        }562        }
458        enum "SSA" {563        enum "SSA" {
459          value 19;564          value 19;
460          description565          description
461            "SAFI specific attribute (19)";566            "SAFI specific attribute (19)";
462        }567        }
463        enum "TUNNEL-ENCAP" {568        enum "TUNNEL-ENCAP" {
464          value 23;569          value 23;
465          description570          description
466            "Tunnel-Encapsulation attribute (23)";571            "Tunnel-Encapsulation attribute (23)";
467        }572        }
468      }573      }
469    }574    }
470    description575    description
471      "Bgp attribute code";576      "Bgp attribute code";
472  }577  }
473578
474  typedef Bmp-mode {579  typedef Bmp-mode {
475    type enumeration {580    type enumeration {
476      enum "inbound-pre-policy" {581      enum "inbound-pre-policy" {
477        value 0;582        value 0;
478        description583        description
479          "Pickup routes at inbound direction from peer584          "Pickup routes at inbound direction from peer
480           before application of route-policy";585           before application of route-policy";
481      }586      }
482      enum "inbound-post-policy" {587      enum "inbound-post-policy" {
483        value 1;588        value 1;
484        description589        description
485          "Pickup routes at inbound direction from peer590          "Pickup routes at inbound direction from peer
486           after application of route-policy";591           after application of route-policy";
487      }592      }
488      enum "local-rib" {593      enum "local-rib" {
489        value 4;594        value 4;
490        description595        description
491          "Pickup routes that have been selected by the596          "Pickup routes that have been selected by the
492           local BGP speaker's decision process";597           local BGP speaker's decision process";
493      }598      }
494    }599    }
495    description600    description
496      "Bmp route monitor mode";601      "Bmp route monitor mode";
497  }602  }
498603
499  grouping VRF-COMMON {604  grouping VRF-COMMON {
500    description605    description
501      "Grouping for vrf";606      "Grouping for vrf";
502    container import {607    container import {
503      description608      description
504        "VRF import";609        "VRF import";
505      leaf route-policy {610      leaf route-policy {
506        type xr:Route-policy-name;611        type xr:Route-policy-name;
507        description612        description
508          "Use route-policy for import filtering";613          "Use route-policy for import filtering";
509      }614      }
510      container from {615      container from {
511        description616        description
512          "Import routes from a VRF";617          "Import routes from a VRF";
513        container default-vrf {618        container default-vrf {
514          description619          description
515            "Import routes from the default VRF";620            "Import routes from the default VRF";
516          leaf route-policy {621          leaf route-policy {
517            type xr:Route-policy-name;622            type xr:Route-policy-name;
518            description623            description
519              "Use route-policy for import filtering";624              "Use route-policy for import filtering";
520          }625          }
521          container advertise-as-vpn {626          container advertise-as-vpn {
522            must "../route-policy";627            must "../route-policy";
523            presence "Indicates a advertise-as-vpn node is configured.";628            presence "Indicates a advertise-as-vpn node is configured.";
524            description629            description
525              "Advertise imported routes to PEs";630              "Advertise imported routes to PEs";
526          }631          }
527        }632        }
528        container vrf {633        container vrf {
529          must "advertise-as-vpn or allow";634          must "advertise-as-vpn or allow";
530          presence "Indicates a vrf node is configured.";635          presence "Indicates a vrf node is configured.";
531          description636          description
532            "VRF import";637            "VRF import";
533          container advertise-as-vpn {638          container advertise-as-vpn {
534            presence "Indicates a advertise-as-vpn node is configured.";639            presence "Indicates a advertise-as-vpn node is configured.";
535            description640            description
536              "Advertise imported routes to PEs";641              "Advertise imported routes to PEs";
537          }642          }
538          container allow {643          container allow {
539            must "backup or best-external";644            must "backup or best-external";
540            description645            description
541              "Allow import of paths based on path-types";646              "Allow import of paths based on path-types";
542            container backup {647            container backup {
543              presence "Indicates a backup node is configured.";648              presence "Indicates a backup node is configured.";
544              description649              description
545                "Allow import of backup path";650                "Allow import of backup path";
546            }651            }
547            container best-external {652            container best-external {
548              presence "Indicates a best-external node is configured.";653              presence "Indicates a best-external node is configured.";
549              description654              description
550                "Allow import of best-external path";655                "Allow import of best-external path";
551            }656            }
552          }657          }
553        }658        }
554        container bridge-domain {659        container bridge-domain {
555          description660          description
556            "VRF import";661            "VRF import";
557          container advertise-as-vpn {662          container advertise-as-vpn {
558            presence "Indicates a advertise-as-vpn node is configured.";663            presence "Indicates a advertise-as-vpn node is configured.";
559            description664            description
560              "Advertise local EVPN imported routes to PEs";665              "Advertise local EVPN imported routes to PEs";
561          }666          }
562        }667        }
563      }668      }
564      container route-target {669      container route-target {
565        description670        description
566          "Specify import route target extended communities";671          "Specify import route target extended communities";
567        container two-byte-as-rts {672        container two-byte-as-rts {
568          description673          description
569            "Two Byte AS Number Route Target";674            "Two Byte AS Number Route Target";
570          list two-byte-as-rt {675          list two-byte-as-rt {
571            key "as-number index stitching";676            key "as-number index stitching";
572            description677            description
573              "Two Byte AS Number Route Target";678              "Two Byte AS Number Route Target";
574            leaf as-number {679            leaf as-number {
575              type uint32 {680              type uint32 {
576                range "1..65535";681                range "1..65535";
577              }682              }
578              description683              description
579                "Two Byte AS Number";684                "Two Byte AS Number";
580            }685            }
581            leaf index {686            leaf index {
582              type uint32 {687              type uint32 {
583                range "0..4294967295" {688                range "0..4294967295" {
584                  description689                  description
585                    "ASN2:index (hex or decimal format)";690                    "ASN2:index (hex or decimal format)";
586                }691                }
587              }692              }
588              description693              description
589                "ASN2:index (hex or decimal format)";694                "ASN2:index (hex or decimal format)";
590            }695            }
591            leaf stitching {696            leaf stitching {
592              type boolean;697              type boolean;
593              description698              description
594                "These are stitching RTs";699                "These are stitching RTs";
595            }700            }
596          }701          }
597        }702        }
598        container four-byte-as-rts {703        container four-byte-as-rts {
599          description704          description
600            "Four Byte AS number Route Target";705            "Four Byte AS number Route Target";
601          list four-byte-as-rt {706          list four-byte-as-rt {
602            key "as-number index stitching";707            key "as-number index stitching";
603            description708            description
604              "Four Byte AS number Route Target";709              "Four Byte AS number Route Target";
605            leaf as-number {710            leaf as-number {
606              type uint32 {711              type uint32 {
607                range "65536..4294967295";712                range "65536..4294967295";
608              }713              }
609              description714              description
610                "Four Byte AS number";715                "Four Byte AS number";
611            }716            }
612            leaf index {717            leaf index {
613              type uint32 {718              type uint32 {
614                range "0..65535" {719                range "0..65535" {
615                  description720                  description
616                    "ASN2:index (hex or decimal format)";721                    "ASN2:index (hex or decimal format)";
617                }722                }
618              }723              }
619              description724              description
620                "ASN2:index (hex or decimal format)";725                "ASN2:index (hex or decimal format)";
621            }726            }
622            leaf stitching {727            leaf stitching {
623              type boolean;728              type boolean;
624              description729              description
625                "These are stitching RTs";730                "These are stitching RTs";
626            }731            }
627          }732          }
628        }733        }
629        container ip-addresse-rts {734        container ip-addresse-rts {
630          description735          description
631            "IP address Route Target";736            "IP address Route Target";
632          list ip-address-rt {737          list ip-address-rt {
633            key "ip-address index stitching";738            key "ip-address index stitching";
634            description739            description
635              "IP address";740              "IP address";
636            leaf ip-address {741            leaf ip-address {
637              type inet:ipv4-address-no-zone;742              type inet:ipv4-address-no-zone;
638              description743              description
639                "IP address";744                "IP address";
640            }745            }
641            leaf index {746            leaf index {
642              type uint32 {747              type uint32 {
643                range "0..65535" {748                range "0..65535" {
644                  description749                  description
645                    "IPv4Address:index (hex or decimal format)";750                    "IPv4Address:index (hex or decimal format)";
646                }751                }
647              }752              }
648              description753              description
649                "IPv4Address:index (hex or decimal format)";754                "IPv4Address:index (hex or decimal format)";
650            }755            }
651            leaf stitching {756            leaf stitching {
652              type boolean;757              type boolean;
653              description758              description
654                "These are stitching RTs";759                "These are stitching RTs";
655            }760            }
656          }761          }
657        }762        }
658      }763      }
659    }764    }
660    container export {765    container export {
661      description766      description
662        "VRF export";767        "VRF export";
663      leaf route-policy {768      leaf route-policy {
664        type xr:Route-policy-name;769        type xr:Route-policy-name;
665        description770        description
666          "Use route-policy for export";771          "Use route-policy for export";
667      }772      }
668      container to {773      container to {
669        description774        description
670          "Export routes to a VRF";775          "Export routes to a VRF";
671        container default-vrf {776        container default-vrf {
672          description777          description
673            "Export routes to the default VRF";778            "Export routes to the default VRF";
674          leaf route-policy {779          leaf route-policy {
675            type xr:Route-policy-name;780            type xr:Route-policy-name;
676            description781            description
677              "Use route-policy for export";782              "Use route-policy for export";
678          }783          }
679          container allow-imported-vpn {784          container allow-imported-vpn {
680            presence "Indicates a allow-imported-vpn node is configured.";785            presence "Indicates a allow-imported-vpn node is configured.";
681            description786            description
682              "Allow export of imported VPN routes to default VRF";787              "Allow export of imported VPN routes to default VRF";
683          }788          }
684        }789        }
685        container vrf {790        container vrf {
686          presence "Indicates a vrf node is configured.";791          presence "Indicates a vrf node is configured.";
687          description792          description
688            "VRF export";793            "VRF export";
689          container allow-imported-vpn {794          container allow-imported-vpn {
690            presence "Indicates a allow-imported-vpn node is configured.";795            presence "Indicates a allow-imported-vpn node is configured.";
691            description796            description
692              "Allow export of imported VPN routes to non-default VRF";797              "Allow export of imported VPN routes to non-default VRF";
693            container disable-adv-source-vrf-vni {798            container disable-adv-source-vrf-vni {
694              presence "Indicates a disable-adv-source-vrf-vni node is configured.";799              presence "Indicates a disable-adv-source-vrf-vni node is configured.";
695              description800              description
696                "Disable advertisement of source vrf vni for leaked route";801                "Disable advertisement of source vrf vni for leaked route";
697            }802            }
698          }803          }
699          container allow {804          container allow {
700            description805            description
701              "Allow export of paths based on path-types";806              "Allow export of paths based on path-types";
702            container backup {807            container backup {
703              presence "Indicates a backup node is configured.";808              presence "Indicates a backup node is configured.";
704              description809              description
705                "Allow Export of backup path";810                "Allow Export of backup path";
706            }811            }
707            container best-external {812            container best-external {
708              presence "Indicates a best-external node is configured.";813              presence "Indicates a best-external node is configured.";
709              description814              description
710                "Allow Export of best-external path";815                "Allow Export of best-external path";
711            }816            }
712          }817          }
713        }818        }
714      }819      }
715      container route-target {820      container route-target {
716        description821        description
717          "Specify export route target extended communities";822          "Specify export route target extended communities";
718        container two-byte-as-rts {823        container two-byte-as-rts {
719          description824          description
720            "Two Byte AS Number Route Target";825            "Two Byte AS Number Route Target";
721          list two-byte-as-rt {826          list two-byte-as-rt {
722            key "as-number index stitching";827            key "as-number index stitching";
723            description828            description
724              "Two Byte AS Number Route Target";829              "Two Byte AS Number Route Target";
725            leaf as-number {830            leaf as-number {
726              type uint32 {831              type uint32 {
727                range "1..65535";832                range "1..65535";
728              }833              }
729              description834              description
730                "Two Byte AS Number";835                "Two Byte AS Number";
731            }836            }
732            leaf index {837            leaf index {
733              type uint32 {838              type uint32 {
734                range "0..4294967295" {839                range "0..4294967295" {
735                  description840                  description
736                    "ASN2:index (hex or decimal format)";841                    "ASN2:index (hex or decimal format)";
737                }842                }
738              }843              }
739              description844              description
740                "ASN2:index (hex or decimal format)";845                "ASN2:index (hex or decimal format)";
741            }846            }
742            leaf stitching {847            leaf stitching {
743              type boolean;848              type boolean;
744              description849              description
745                "These are stitching RTs";850                "These are stitching RTs";
746            }851            }
747          }852          }
748        }853        }
749        container four-byte-as-rts {854        container four-byte-as-rts {
750          description855          description
751            "Four Byte AS number Route Target";856            "Four Byte AS number Route Target";
752          list four-byte-as-rt {857          list four-byte-as-rt {
753            key "as-number index stitching";858            key "as-number index stitching";
754            description859            description
755              "Four Byte AS number Route Target";860              "Four Byte AS number Route Target";
756            leaf as-number {861            leaf as-number {
757              type uint32 {862              type uint32 {
758                range "65536..4294967295";863                range "65536..4294967295";
759              }864              }
760              description865              description
761                "Four Byte AS number";866                "Four Byte AS number";
762            }867            }
763            leaf index {868            leaf index {
764              type uint32 {869              type uint32 {
765                range "0..65535" {870                range "0..65535" {
766                  description871                  description
767                    "ASN2:index (hex or decimal format)";872                    "ASN2:index (hex or decimal format)";
768                }873                }
769              }874              }
770              description875              description
771                "ASN2:index (hex or decimal format)";876                "ASN2:index (hex or decimal format)";
772            }877            }
773            leaf stitching {878            leaf stitching {
774              type boolean;879              type boolean;
775              description880              description
776                "These are stitching RTs";881                "These are stitching RTs";
777            }882            }
778          }883          }
779        }884        }
780        container ip-addresse-rts {885        container ip-addresse-rts {
781          description886          description
782            "IP address Route Target";887            "IP address Route Target";
783          list ip-address-rt {888          list ip-address-rt {
784            key "ip-address index stitching";889            key "ip-address index stitching";
785            description890            description
786              "IP address";891              "IP address";
787            leaf ip-address {892            leaf ip-address {
788              type inet:ipv4-address-no-zone;893              type inet:ipv4-address-no-zone;
789              description894              description
790                "IP address";895                "IP address";
791            }896            }
792            leaf index {897            leaf index {
793              type uint32 {898              type uint32 {
794                range "0..65535" {899                range "0..65535" {
795                  description900                  description
796                    "IPv4Address:index (hex or decimal format)";901                    "IPv4Address:index (hex or decimal format)";
797                }902                }
798              }903              }
799              description904              description
800                "IPv4Address:index (hex or decimal format)";905                "IPv4Address:index (hex or decimal format)";
801            }906            }
802            leaf stitching {907            leaf stitching {
803              type boolean;908              type boolean;
804              description909              description
805                "These are stitching RTs";910                "These are stitching RTs";
806            }911            }
807          }912          }
808        }913        }
809      }914      }
810    }915    }
811  }916  }
812917
813  grouping VRF-RD {918  grouping VRF-RD {
814    description919    description
815      "Grouping for vrf-rd";920      "Grouping for vrf-rd";
816    container rd {921    container rd {
817      description922      description
818        "route distinguisher";923        "route distinguisher";
819      container two-byte-as {924      container two-byte-as {
820        must "not(../four-byte-as or ../ip-address)";925        must "not(../four-byte-as or ../ip-address)";
821        presence "Indicates a two-byte-as node is configured.";926        presence "Indicates a two-byte-as node is configured.";
822        description927        description
823          " two-byte-as route distinguisher";928          " two-byte-as route distinguisher";
824        leaf as-number {929        leaf as-number {
825          type xr:Bgp-as-number;930          type xr:Bgp-as-number;
826          mandatory true;931          mandatory true;
827          description932          description
828            "bgp as-number";933            "bgp as-number";
829        }934        }
830        leaf index {935        leaf index {
831          type uint32 {936          type uint32 {
832            range "0..4294967295" {937            range "0..4294967295" {
833              description938              description
834                "ASN2:index (hex or decimal format)";939                "ASN2:index (hex or decimal format)";
835            }940            }
836          }941          }
837          mandatory true;942          mandatory true;
838          description943          description
839            "ASN2:index (hex or decimal format)";944            "ASN2:index (hex or decimal format)";
840        }945        }
841      }946      }
842      container four-byte-as {947      container four-byte-as {
843        must "not(../two-byte-as or ../ip-address)";948        must "not(../two-byte-as or ../ip-address)";
844        presence "Indicates a four-byte-as node is configured.";949        presence "Indicates a four-byte-as node is configured.";
845        description950        description
846          "four-byte-as route distinguisher";951          "four-byte-as route distinguisher";
847        leaf as-number {952        leaf as-number {
848          type xr:Bgp-as-number;953          type xr:Bgp-as-number;
849          mandatory true;954          mandatory true;
850          description955          description
851            "4-byte AS number";956            "4-byte AS number";
852        }957        }
853        leaf index {958        leaf index {
854          type uint32 {959          type uint32 {
855            range "0..4294967295" {960            range "0..4294967295" {
856              description961              description
857                "ASN2:index (hex or decimal format)";962                "ASN2:index (hex or decimal format)";
858            }963            }
859          }964          }
860          mandatory true;965          mandatory true;
861          description966          description
862            "ASN2:index (hex or decimal format)";967            "ASN2:index (hex or decimal format)";
863        }968        }
864      }969      }
865      container ip-address {970      container ip-address {
866        must "not(../two-byte-as or ../four-byte-as)";971        must "not(../two-byte-as or ../four-byte-as)";
867        presence "Indicates a ip-address node is configured.";972        presence "Indicates a ip-address node is configured.";
868        description973        description
869          "configure this node";974          "configure this node";
870        leaf ipv4-address {975        leaf ipv4-address {
871          type inet:ipv4-address-no-zone;976          type inet:ipv4-address-no-zone;
872          mandatory true;977          mandatory true;
873          description978          description
874            "configure this node";979            "configure this node";
875        }980        }
876        leaf index {981        leaf index {
877          type uint32 {982          type uint32 {
878            range "0..65535" {983            range "0..65535" {
879              description984              description
880                "IPv4Address:index (hex or decimal format)";985                "IPv4Address:index (hex or decimal format)";
881            }986            }
882          }987          }
883          mandatory true;988          mandatory true;
884          description989          description
885            "IPv4Address:index (hex or decimal format)";990            "IPv4Address:index (hex or decimal format)";
886        }991        }
887      }992      }
888    }993    }
889  }994  }
890995
891  grouping AS-COMMON {996  grouping AS-COMMON {
892    description997    description
893      "Grouping for as-common";998      "Grouping for as-common";
894    container rpki {999    container rpki {
895      description1000      description
896        "Configure RPKI";1001        "Configure RPKI";
897      container servers {1002      container servers {
898        description1003        description
899          "Configure RPKI cache-servers";1004          "Configure RPKI cache-servers";
900        list server {1005        list server {
901          key "server-id";1006          key "server-id";
902          description1007          description
903            "Configure RPKI cache-servers";1008            "Configure RPKI cache-servers";
904          leaf server-id {1009          leaf server-id {
905            type xr:Cisco-ios-xr-string {1010            type xr:Cisco-ios-xr-string {
906              length "1..1024" {1011              length "1..1024" {
907                description1012                description
908                  "Hostname or IP address";1013                  "Hostname or IP address";
909              }1014              }
910            }1015            }
911            description1016            description
912              "Configure RPKI cache-servers";1017              "Configure RPKI cache-servers";
913          }1018          }
914          container bind-source {1019          container bind-source {
915            description1020            description
916              "Specify a bind source for RPKI cache-server";1021              "Specify a bind source for RPKI cache-server";
917            container interface {1022            container interface {
918              description1023              description
919                "Specify a source interface to bind the cache-server transport";1024                "Specify a source interface to bind the cache-server transport";
920              leaf interface-name {1025              leaf interface-name {
921                type xr:Interface-name;1026                type xr:Interface-name;
922                description1027                description
923                  "Interface Name";1028                  "Interface Name";
924              }1029              }
925            }1030            }
926          }1031          }
927          leaf preference {1032          leaf preference {
928            type uint32 {1033            type uint32 {
929              range "1..10" {1034              range "1..10" {
930                description1035                description
931                  "(Deprecated from 7.4.1) RPKI cache-server preference value (lower is better)";1036                  "(Deprecated from 7.4.1) RPKI cache-server preference value (lower is better)";
932              }1037              }
933            }1038            }
934            description1039            description
935              "(Deprecated from 7.4.1) Specify a preference value for the RPKI cache";1040              "(Deprecated from 7.4.1) Specify a preference value for the RPKI cache";
936          }1041          }
937          container refresh-time {1042          container refresh-time {
938            description1043            description
939              "Time between sending serial-queries for the RPKI cache-server";1044              "Time between sending serial-queries for the RPKI cache-server";
940            leaf refresh-time-value {1045            leaf refresh-time-value {
941              type uint32 {1046              type uint32 {
942                range "15..3600" {1047                range "15..3600" {
943                  description1048                  description
944                    "Refresh time (in seconds)";1049                    "Refresh time (in seconds)";
945                }1050                }
946              }1051              }
947              description1052              description
948                "Refresh time (in seconds)";1053                "Refresh time (in seconds)";
949            }1054            }
950            container off {1055            container off {
951              presence "Indicates a off node is configured.";1056              presence "Indicates a off node is configured.";
952              description1057              description
953                "Do not send serial-queries periodically";1058                "Do not send serial-queries periodically";
954            }1059            }
955          }1060          }
956          container response-time {1061          container response-time {
957            description1062            description
958              "Time to wait for a response from the RPKI cache-server";1063              "Time to wait for a response from the RPKI cache-server";
959            leaf response-time-value {1064            leaf response-time-value {
960              type uint32 {1065              type uint32 {
961                range "15..3600" {1066                range "15..3600" {
962                  description1067                  description
963                    "Response time (in seconds)";1068                    "Response time (in seconds)";
964                }1069                }
965              }1070              }
966              description1071              description
967                "Response time (in seconds)";1072                "Response time (in seconds)";
968            }1073            }
969            container off {1074            container off {
970              presence "Indicates a off node is configured.";1075              presence "Indicates a off node is configured.";
971              description1076              description
972                "Wait indefinitely for a response";1077                "Wait indefinitely for a response";
973            }1078            }
974          }1079          }
975          leaf purge-time {1080          leaf purge-time {
976            type uint32 {1081            type uint32 {
977              range "30..65535" {1082              range "30..65535" {
978                description1083                description
979                  "Purge time (in seconds)";1084                  "Purge time (in seconds)";
980              }1085              }
981            }1086            }
982            description1087            description
983              "Purge time (in seconds)";1088              "Purge time (in seconds)";
984          }1089          }
985          leaf username {1090          leaf username {
986            type string {1091            type string {
987              length "1..1024" {1092              length "1..1024" {
988                description1093                description
989                  "RPKI cache (SSH) username";1094                  "RPKI cache (SSH) username";
990              }1095              }
991            }1096            }
992            description1097            description
993              "Specify a (SSH) username for the RPKI cache-server";1098              "Specify a (SSH) username for the RPKI cache-server";
994          }1099          }
995          leaf password {1100          leaf password {
996            type string {1101            type string {
997              length "1..1024" {1102              length "1..1024" {
998                description1103                description
999                  "RPKI cache (SSH) password";1104                  "RPKI cache (SSH) password";
1000              }1105              }
1001            }1106            }
1002            description1107            description
1003              "Specify a (SSH) password for the RPKI cache-server";1108              "Specify a (SSH) password for the RPKI cache-server";
1004          }1109          }
1005          container transport {1110          container transport {
1006            description1111            description
1007              "Specify a transport method for the RPKI cache-server";1112              "Specify a transport method for the RPKI cache-server";
1008            container tcp {1113            container tcp {
1009              description1114              description
1010                "Connect to the RPKI cache-server using TCP (unencrypted)";1115                "Connect to the RPKI cache-server using TCP (unencrypted)";
1011              leaf port {1116              leaf port {
1012                type uint32 {1117                type uint32 {
1013                  range "1..65535" {1118                  range "1..65535" {
1014                    description1119                    description
1015                      "Specify a port number for the RPKI cache-server transport";1120                      "Specify a port number for the RPKI cache-server transport";
1016                  }1121                  }
1017                }1122                }
1018                must "not(../../ssh/port)";1123                must "not(../../ssh/port)";
1019                description1124                description
1020                  "Specify a port number for the RPKI cache-server transport";1125                  "Specify a port number for the RPKI cache-server transport";
1021              }1126              }
1022            }1127            }
1023            container ssh {1128            container ssh {
1024              description1129              description
1025                "Connect to the RPKI cache-server using SSH";1130                "Connect to the RPKI cache-server using SSH";
1026              leaf port {1131              leaf port {
1027                type uint32 {1132                type uint32 {
1028                  range "1..65535" {1133                  range "1..65535" {
1029                    description1134                    description
1030                      "Specify a port number for the RPKI cache-server transport";1135                      "Specify a port number for the RPKI cache-server transport";
1031                  }1136                  }
1032                }1137                }
1033                must "not(../../tcp/port)";1138                must "not(../../tcp/port)";
1034                description1139                description
1035                  "Specify a port number for the RPKI cache-server transport";1140                  "Specify a port number for the RPKI cache-server transport";
1036              }1141              }
1037            }1142            }
1038          }1143          }
1039          container shutdown {1144          container shutdown {
1040            presence "Indicates a shutdown node is configured.";1145            presence "Indicates a shutdown node is configured.";
1041            description1146            description
1042              "Shutdown the RPKI cache-server";1147              "Shutdown the RPKI cache-server";
1043          }1148          }
1044        }1149        }
1045      }1150      }
1046      container routes {1151      container routes {
1047        description1152        description
1048          "Configure an RPKI route";1153          "Configure an RPKI route";
1049        list route {1154        list route {
1050          key "address minimum-prefix-length maximum-prefix-length origin-as-number";1155          key "address minimum-prefix-length maximum-prefix-length origin-as-number";
1051          description1156          description
1052            "Configure an RPKI route";1157            "Configure an RPKI route";
1053          leaf address {1158          leaf address {
1054            type inet:ip-address-no-zone;1159            type inet:ip-address-no-zone;
1055            description1160            description
1056              "Configure an RPKI route";1161              "Configure an RPKI route";
1057          }1162          }
1058          leaf minimum-prefix-length {1163          leaf minimum-prefix-length {
1059            type union {1164            type union {
1060              type uint32 {1165              type uint32 {
1061                range "0..32" {1166                range "0..32" {
1062                  description1167                  description
1063                    "Minimum prefix length for ipv4 address";1168                    "Minimum prefix length for ipv4 address";
1064                }1169                }
1065              }1170              }
1066              type uint32 {1171              type uint32 {
1067                range "0..128" {1172                range "0..128" {
1068                  description1173                  description
1069                    "Minimum prefix length for ipv6 address";1174                    "Minimum prefix length for ipv6 address";
1070                }1175                }
1071              }1176              }
1072            }1177            }
1073            description1178            description
1074              "Minimum prefix length";1179              "Minimum prefix length";
1075          }1180          }
1076          leaf maximum-prefix-length {1181          leaf maximum-prefix-length {
1077            type union {1182            type union {
1078              type uint32 {1183              type uint32 {
1079                range "1..32" {1184                range "1..32" {
1080                  description1185                  description
1081                    "Maximum prefix length for ipv4 address";1186                    "Maximum prefix length for ipv4 address";
1082                }1187                }
1083              }1188              }
1084              type uint32 {1189              type uint32 {
1085                range "1..128" {1190                range "1..128" {
1086                  description1191                  description
1087                    "Maximum prefix length for ipv6 addess";1192                    "Maximum prefix length for ipv6 addess";
1088                }1193                }
1089              }1194              }
1090            }1195            }
1091            description1196            description
1092              "Maximum prefix length (Default 32/128 for IPv4/IPv6)";1197              "Maximum prefix length (Default 32/128 for IPv4/IPv6)";
1093          }1198          }
1094          leaf origin-as-number {1199          leaf origin-as-number {
1095            type uint32 {1200            type uint32 {
1096              range "1..4294967295" {1201              range "1..4294967295" {
1097                description1202                description
1098                  "Origin Autonomous System number (in asplain format)";1203                  "Origin Autonomous System number (in asplain format)";
1099              }1204              }
1100            }1205            }
1101            description1206            description
1102              "Origin Autonomous System number";1207              "Origin Autonomous System number";
1103          }1208          }
1104        }1209        }
1105      }1210      }
1106      leaf datafile {1211      leaf datafile {
1107        type xr:Cisco-ios-xr-string {1212        type xr:Cisco-ios-xr-string {
1108          length "1..800" {1213          length "1..800" {
1109            description1214            description
1110              "(Deprecated from 7.4.1) File name containing RPKI data entries";1215              "(Deprecated from 7.4.1) File name containing RPKI data entries";
1111          }1216          }
1112        }1217        }
1113        description1218        description
1114          "(Deprecated from 7.4.1) Configure an RPKI data file";1219          "(Deprecated from 7.4.1) Configure an RPKI data file";
1115      }1220      }
1116    }1221    }
1117    container address-families {1222    container address-families {
1118      description1223      description
1119        "Enter Address Family command mode";1224        "Enter Address Family command mode";
1120      list address-family {1225      list address-family {
1121        key "af-name";1226        key "af-name";
1122        description1227        description
1123          "Enter Address Family command mode";1228          "Enter Address Family command mode";
1124        leaf af-name {1229        leaf af-name {
1125          type Bgp-address-family;1230          type Bgp-address-family;
1126          description1231          description
1127            "Enter Address Family command mode";1232            "Enter Address Family command mode";
1128        }1233        }
1129        container vrf {1234        container vrf {
1130          when "../af-name = 'vpnv4-unicast' or ../af-name = 'vpnv6-unicast'";1235          when "../af-name = 'vpnv4-unicast' or ../af-name = 'vpnv6-unicast'";
1131          description1236          description
1132            "Specify configurations to be inherited to all vrfs";1237            "Specify configurations to be inherited to all vrfs";
1133          container all {1238          container all {
1134            presence "Indicates a all node is configured.";1239            presence "Indicates a all node is configured.";
1135            description1240            description
1136              "Specify configurations to be inherited to all vrfs";1241              "Specify configurations to be inherited to all vrfs";
1137            container source {1242            container source {
1138              description1243              description
1139                "Source import route-targets from import-policy";1244                "Source import route-targets from import-policy";
1140              container rt {1245              container rt {
1141                description1246                description
1142                  "Source import route-targets from import-policy";1247                  "Source import route-targets from import-policy";
1143                container import-policy {1248                container import-policy {
1144                  presence "Indicates a import-policy node is configured.";1249                  presence "Indicates a import-policy node is configured.";
1145                  description1250                  description
1146                    "Source import route-targets from import-policy";1251                    "Source import route-targets from import-policy";
1147                }1252                }
1148              }1253              }
1149            }1254            }
1150            container label {1255            container label {
1151              description1256              description
1152                "Label-related configuration";1257                "Label-related configuration";
1153              container mode {1258              container mode {
1154                description1259                description
1155                  "Select label mode";1260                  "Select label mode";
1156                container per-ce {1261                container per-ce {
1157                  must "not(../per-vrf or ../route-policy or ../per-vrf-46)";1262                  must "not(../per-vrf or ../route-policy or ../per-vrf-46)";
1158                  presence "Indicates a per-ce node is configured.";1263                  presence "Indicates a per-ce node is configured.";
1159                  description1264                  description
1160                    "Set per CE label mode";1265                    "Set per CE label mode";
1161                }1266                }
1162                container per-vrf {1267                container per-vrf {
1163                  must "not(../per-ce or ../route-policy or ../per-vrf-46)";1268                  must "not(../per-ce or ../route-policy or ../per-vrf-46)";
1164                  presence "Indicates a per-vrf node is configured.";1269                  presence "Indicates a per-vrf node is configured.";
1165                  description1270                  description
1166                    "Set per VRF label mode";1271                    "Set per VRF label mode";
1167                }1272                }
1168                container per-vrf-46 {1273                container per-vrf-46 {
1169                  must "not(../per-ce or ../route-policy or ../per-vrf)";1274                  must "not(../per-ce or ../route-policy or ../per-vrf)";
1170                  presence "Indicates a per-vrf-46 node is configured.";1275                  presence "Indicates a per-vrf-46 node is configured.";
1171                  description1276                  description
1172                    "Set per VRF IPv4/IPv6 label mode";1277                    "Set per VRF IPv4/IPv6 label mode";
1173                }1278                }
1174                leaf route-policy {1279                leaf route-policy {
1175                  type xr:Route-policy-name;1280                  type xr:Route-policy-name;
1176                  must "not(../per-ce or ../per-vrf or ../per-vrf-46)";1281                  must "not(../per-ce or ../per-vrf or ../per-vrf-46)";
1177                  description1282                  description
1178                    "Use a route policy to select prefixes for label allocation mode";1283                    "Use a route policy to select prefixes for label allocation mode";
1179                }1284                }
1180              }1285              }
1181            }1286            }
1182            container rnh {1287            container rnh {
1183              description1288              description
1184                "Remote nexthop";1289                "Remote nexthop";
1185              container install {1290              container install {
1186                description1291                description
1187                  "Install remote nexthop";1292                  "Install remote nexthop";
1188                container extcomm {1293                container extcomm {
1189                  presence "Indicates a extcomm node is configured.";1294                  presence "Indicates a extcomm node is configured.";
1190                  description1295                  description
1191                    "Install remote nexthop in extended community and opaque format";1296                    "Install remote nexthop in extended community and opaque format";
1192                  container only {1297                  container only {
1193                    presence "Indicates a only node is configured.";1298                    presence "Indicates a only node is configured.";
1194                    description1299                    description
1195                      "Install remote nexthop in extended community format only";1300                      "Install remote nexthop in extended community format only";
1196                  }1301                  }
1197                }1302                }
1198              }1303              }
1199            }1304            }
1200            leaf table-policy {1305            leaf table-policy {
1201              type xr:Route-policy-name;1306              type xr:Route-policy-name;
1202              description1307              description
1203                "Configure policy for installation of routes to RIB";1308                "Configure policy for installation of routes to RIB";
1204            }1309            }
1205            container segment-routing {1310            container segment-routing {
1206              description1311              description
1207                "Segment Routing";1312                "Segment Routing";
1208              container srv6 {1313              container srv6 {
1209                presence "Indicates a srv6 node is configured.";1314                presence "Indicates a srv6 node is configured.";
1210                description1315                description
1211                  "Specify SRv6 configurations";1316                  "Specify SRv6 configurations";
1212                container alloc {1317                container alloc {
1213                  description1318                  description
1214                    "SID Allocation";1319                    "SID Allocation";
1215                  container mode {1320                  container mode {
1216                    description1321                    description
1217                      "SID Allocation mode";1322                      "SID Allocation mode";
1218                    container per-ce {1323                    container per-ce {
1219                      must "not(../per-vrf-46 or ../per-vrf)";1324                      must "not(../per-vrf-46 or ../per-vrf)";
1220                      presence "Indicates a per-ce node is configured.";1325                      presence "Indicates a per-ce node is configured.";
1221                      description1326                      description
1222                        "Set per CE SRv6 SID mode";1327                        "Set per CE SRv6 SID mode";
1223                    }1328                    }
1224                    container per-vrf {1329                    container per-vrf {
1225                      must "not(../per-ce or ../per-vrf-46)";1330                      must "not(../per-ce or ../per-vrf-46)";
1226                      presence "Indicates a per-vrf node is configured.";1331                      presence "Indicates a per-vrf node is configured.";
1227                      description1332                      description
1228                        "Set per VRF SRv6 SID mode";1333                        "Set per VRF SRv6 SID mode";
1229                    }1334                    }
1230                    container per-vrf-46 {1335                    container per-vrf-46 {
1231                      must "not(../per-ce or ../per-vrf)";1336                      must "not(../per-ce or ../per-vrf)";
1232                      presence "Indicates a per-vrf-46 node is configured.";1337                      presence "Indicates a per-vrf-46 node is configured.";
1233                      description1338                      description
1234                        "Set per VRF 46 SRv6 SID mode";1339                        "Set per VRF 46 SRv6 SID mode";
1235                    }1340                    }
1236                  }1341                  }
1237                }1342                }
1238                leaf locator {1343                leaf locator {
1239                  type xr:Cisco-ios-xr-string {1344                  type xr:Cisco-ios-xr-string {
1240                    length "1..1024" {1345                    length "1..1024" {
1241                      description1346                      description
1242                        "locator name";1347                        "locator name";
1243                    }1348                    }
1244                  }1349                  }
1245                  description1350                  description
1246                    "Specify locator";1351                    "Specify locator";
1247                }1352                }
1248                container usid {1353                container usid {
1249                  description1354                  description
1250                    "Micro-SID configuration";1355                    "Micro-SID configuration";
1251                  container allocation {1356                  container allocation {
1252                    description1357                    description
1253                      "Allocation mode";1358                      "Allocation mode";
1254                    container wide-local-id-block {1359                    container wide-local-id-block {
1255                      presence "Indicates a wide-local-id-block node is configured.";1360                      presence "Indicates a wide-local-id-block node is configured.";
1256                      description1361                      description
1257                        "Wide LIB allocation";1362                        "Wide LIB allocation";
1258                    }1363                    }
1259                  }1364                  }
1260                }1365                }
1261              }1366              }
1262            }1367            }
1263          }1368          }
1264        }1369        }
1265        container domain-distinguisher {1370        container domain-distinguisher {
1266          when "../af-name = 'link-state-link-state'";1371          when "../af-name = 'link-state-link-state'";
1267          presence "Indicates a domain-distinguisher node is configured.";1372          presence "Indicates a domain-distinguisher node is configured.";
1268          description1373          description
1269            "Globally unique identifier for IGP domain";1374            "Globally unique identifier for IGP domain";
1270          leaf domain-distinguisher-id {1375          leaf domain-distinguisher-id {
1271            type uint32 {1376            type uint32 {
1272              range "1..4294967295" {1377              range "1..4294967295" {
1273                description1378                description
1274                  "4 octet ASN";1379                  "4 octet ASN";
1275              }1380              }
1276            }1381            }
1277            mandatory true;1382            mandatory true;
1278            description1383            description
1279              "Globally unique identifier for IGP domain";1384              "Globally unique identifier for IGP domain";
1280          }1385          }
1281          leaf ip-address {1386          leaf ip-address {
1282            type inet:ipv4-address-no-zone;1387            type inet:ipv4-address-no-zone;
1283            mandatory true;1388            mandatory true;
1284            description1389            description
1285              "configure this node";1390              "configure this node";
1286          }1391          }
1287        }1392        }
1288        container distance {1393        container distance {
1289          when "../af-name != 'vpn4-unicast' and ../af-name != 'vpnv4-multicast' and ../af-name != 'vpnv6-unicast' and ../af-name != 'vpnv6-multicast' and ../af-name != 'vpnv4-mdt' and ../af-name != 'l2vpn-vpls-vpws' and ../af-name != 'l2vpn-evpn' and ../af-name != 'l2vpn-mspw' and ../af-name != 'ipv4-mvpn' and ../af-name != 'ipv6-mvpn' and ../af-name != 'ipv4-tunnel' and ../af-name != 'ipv4-rt-filter' and ../af-name != 'link-state-link-state' and ../af-name != 'ipv4-flowspec' and ../af-name != 'ipv6-flowspec' and ../af-name != 'vpnv4-flowspec' and ../af-name != 'vpnv6-flowspec' and ../af-name != 'ipv4-sr-policy' and ../af-name != 'ipv6-sr-policy'";1394          when "../af-name != 'vpn4-unicast' and ../af-name != 'vpnv4-multicast' and ../af-name != 'vpnv6-unicast' and ../af-name != 'vpnv6-multicast' and ../af-name != 'vpnv4-mdt' and ../af-name != 'l2vpn-vpls-vpws' and ../af-name != 'l2vpn-evpn' and ../af-name != 'l2vpn-mspw' and ../af-name != 'ipv4-mvpn' and ../af-name != 'ipv6-mvpn' and ../af-name != 'ipv4-tunnel' and ../af-name != 'ipv4-rt-filter' and ../af-name != 'link-state-link-state' and ../af-name != 'ipv4-flowspec' and ../af-name != 'ipv6-flowspec' and ../af-name != 'vpnv4-flowspec' and ../af-name != 'vpnv6-flowspec' and ../af-name != 'ipv4-sr-policy' and ../af-name != 'ipv6-sr-policy'";
1290          description1395          description
1291            "Define an administrative distance";1396            "Define an administrative distance";
1292          container bgp {1397          container bgp {
1293            presence "Indicates a bgp node is configured.";1398            presence "Indicates a bgp node is configured.";
1294            description1399            description
1295              "BGP distance";1400              "BGP distance";
1296            leaf external-routes {1401            leaf external-routes {
1297              type uint32 {1402              type uint32 {
1298                range "1..255" {1403                range "1..255" {
1299                  description1404                  description
1300                    "Distance for routes external to the AS";1405                    "Distance for routes external to the AS";
1301                }1406                }
1302              }1407              }
1303              mandatory true;1408              mandatory true;
1304              description1409              description
1305                "BGP distance";1410                "BGP distance";
1306            }1411            }
1307            leaf internal-routes {1412            leaf internal-routes {
1308              type uint32 {1413              type uint32 {
1309                range "1..255" {1414                range "1..255" {
1310                  description1415                  description
1311                    "Distance for routes internal to the AS";1416                    "Distance for routes internal to the AS";
1312                }1417                }
1313              }1418              }
1314              mandatory true;1419              mandatory true;
1315              description1420              description
1316                "Distance for routes internal to the AS";1421                "Distance for routes internal to the AS";
1317            }1422            }
1318            leaf local-routes {1423            leaf local-routes {
1319              type uint32 {1424              type uint32 {
1320                range "1..255" {1425                range "1..255" {
1321                  description1426                  description
1322                    "Distance for local routes";1427                    "Distance for local routes";
1323                }1428                }
1324              }1429              }
1325              mandatory true;1430              mandatory true;
1326              description1431              description
1327                "Distance for local routes";1432                "Distance for local routes";
1328            }1433            }
1329          }1434          }
1330        }1435        }
1331        container optimal-route-reflection {1436        container optimal-route-reflection {
1332          when "../af-name != 'vpn4-unicast' and ../af-name != 'vpnv4-multicast' and ../af-name != 'vpnv6-unicast' and ../af-name != 'vpnv6-multicast' and ../af-name != 'vpnv4-mdt' and ../af-name != 'l2vpn-vpls-vpws' and ../af-name != 'l2vpn-evpn' and ../af-name != 'l2vpn-mspw' and ../af-name != 'ipv4-mvpn' and ../af-name != 'ipv6-mvpn' and ../af-name != 'ipv4-tunnel' and ../af-name != 'ipv4-rt-filter' and ../af-name != 'link-state-link-state' and ../af-name != 'ipv4-flowspec' and ../af-name != 'ipv6-flowspec' and ../af-name != 'vpnv4-flowspec' and ../af-name != 'vpnv6-flowspec' and ../af-name != 'ipv4-sr-policy' and ../af-name != 'ipv6-sr-policy'";1437          when "../af-name != 'vpn4-unicast' and ../af-name != 'vpnv4-multicast' and ../af-name != 'vpnv6-unicast' and ../af-name != 'vpnv6-multicast' and ../af-name != 'vpnv4-mdt' and ../af-name != 'l2vpn-vpls-vpws' and ../af-name != 'l2vpn-evpn' and ../af-name != 'l2vpn-mspw' and ../af-name != 'ipv4-mvpn' and ../af-name != 'ipv6-mvpn' and ../af-name != 'ipv4-tunnel' and ../af-name != 'ipv4-rt-filter' and ../af-name != 'link-state-link-state' and ../af-name != 'ipv4-flowspec' and ../af-name != 'ipv6-flowspec' and ../af-name != 'vpnv4-flowspec' and ../af-name != 'vpnv6-flowspec' and ../af-name != 'ipv4-sr-policy' and ../af-name != 'ipv6-sr-policy'";
1333          description1438          description
1334            "Configure optimal-route-reflection group";1439            "Configure optimal-route-reflection group";
1335          list orr-group {1440          list orr-group {
1336            key "orr-group-name";1441            key "orr-group-name";
1337            description1442            description
1338              "ORR group name - maximum 32 characters";1443              "ORR group name - maximum 32 characters";
1339            leaf orr-group-name {1444            leaf orr-group-name {
1340              type string {1445              type string {
1341                length "1..32" {1446                length "1..32" {
1342                  description1447                  description
1343                    "ORR group name - maximum 32 characters";1448                    "ORR group name - maximum 32 characters";
1344                }1449                }
1345              }1450              }
1346              description1451              description
1347                "ORR group name - maximum 32 characters";1452                "ORR group name - maximum 32 characters";
1348            }1453            }
1349            leaf primary-address {1454            leaf primary-address {
1350              type inet:ip-address-no-zone;1455              type inet:ip-address-no-zone;
1351              mandatory true;1456              mandatory true;
1352              description1457              description
1353                "IPv4 primary address";1458                "IPv4 primary address";
1354            }1459            }
1355            leaf secondary-address {1460            leaf secondary-address {
1356              type inet:ip-address-no-zone;1461              type inet:ip-address-no-zone;
1357              description1462              description
1358                "IPv4 secondary address";1463                "IPv4 secondary address";
1359            }1464            }
1360            leaf tertiary-address {1465            leaf tertiary-address {
1361              type inet:ip-address-no-zone;1466              type inet:ip-address-no-zone;
1362              must "../secondary-address";1467              must "../secondary-address";
1363              description1468              description
1364                "IPv4 tertiary address";1469                "IPv4 tertiary address";
1365            }1470            }
1366          }1471          }
1367          list apply {1472          list apply {
1368            key "orr-group-name";1473            key "orr-group-name";
1369            description1474            description
1370              "Apply optimal-route-reflection group";1475              "Apply optimal-route-reflection group";
1371            leaf orr-group-name {1476            leaf orr-group-name {
1372              type xr:Cisco-ios-xr-string {1477              type xr:Cisco-ios-xr-string {
1373                length "1..32" {1478                length "1..32" {
1374                  description1479                  description
1375                    "ORR group name - maximum 32 characters";1480                    "ORR group name - maximum 32 characters";
1376                }1481                }
1377              }1482              }
1378              description1483              description
1379                "ORR group name - maximum 32 characters";1484                "ORR group name - maximum 32 characters";
1380            }1485            }
1381          }1486          }
1382          container fallback-default-bestpath {1487          container fallback-default-bestpath {
1383            presence "Indicates an ebgp node is configured.";1488            presence "Indicates an ebgp node is configured.";
1384            description1489            description
1385              "In case none of the paths are accessible in1490              "In case none of the paths are accessible in
1386               an ORR table, fallback to default table bestpath1491               an ORR table, fallback to default table bestpath
1387               as ORR bestpath";1492               as ORR bestpath";
1388          }1493          }
1389        }1494        }
1390        container maximum-paths {1495        container maximum-paths {
1391          when "../af-name != 'vpn4-unicast' and ../af-name != 'vpnv4-multicast' and ../af-name != 'vpnv6-unicast' and ../af-name != 'vpnv6-multicast' and ../af-name != 'vpnv4-mdt' and ../af-name != 'l2vpn-vpls-vpws' and ../af-name != 'l2vpn-evpn' and ../af-name != 'l2vpn-mspw' and ../af-name != 'ipv4-mvpn' and ../af-name != 'ipv6-mvpn' and ../af-name != 'ipv4-tunnel' and ../af-name != 'ipv4-rt-filter' and ../af-name != 'link-state-link-state' and ../af-name != 'ipv4-flowspec' and ../af-name != 'ipv6-flowspec' and ../af-name != 'vpnv4-flowspec' and ../af-name != 'vpnv6-flowspec' and ../af-name != 'ipv4-sr-policy' and ../af-name != 'ipv6-sr-policy'";1496          when "../af-name != 'vpn4-unicast' and ../af-name != 'vpnv4-multicast' and ../af-name != 'vpnv6-unicast' and ../af-name != 'vpnv6-multicast' and ../af-name != 'vpnv4-mdt' and ../af-name != 'l2vpn-vpls-vpws' and ../af-name != 'l2vpn-evpn' and ../af-name != 'l2vpn-mspw' and ../af-name != 'ipv4-mvpn' and ../af-name != 'ipv6-mvpn' and ../af-name != 'ipv4-tunnel' and ../af-name != 'ipv4-rt-filter' and ../af-name != 'link-state-link-state' and ../af-name != 'ipv4-flowspec' and ../af-name != 'ipv6-flowspec' and ../af-name != 'vpnv4-flowspec' and ../af-name != 'vpnv6-flowspec' and ../af-name != 'ipv4-sr-policy' and ../af-name != 'ipv6-sr-policy'";
1392          description1497          description
1393            "Forward packets over multiple paths";1498            "Forward packets over multiple paths";
1394          container ebgp {1499          container ebgp {
1395            presence "Indicates an ebgp node is configured.";1500            presence "Indicates an ebgp node is configured.";
1396            description1501            description
1397              "eBGP-multipath";1502              "eBGP-multipath";
1398            leaf multipath {1503            leaf multipath {
1399              type uint32 {1504              type uint32 {
1400                range "2..1024" {1505                range "2..1024" {
1401                  description1506                  description
1402                    "Number of paths (limit includes backup path)";1507                    "Number of paths (limit includes backup path)";
1403                }1508                }
1404              }1509              }
1405              mandatory true;1510              mandatory true;
1406              description1511              description
1407                "eBGP-multipath";1512                "eBGP-multipath";
1408            }1513            }
1409            container selective {1514            container selective {
1410              presence "Indicates a selective node is configured.";1515              presence "Indicates a selective node is configured.";
1411              description1516              description
1412                "Allow multipaths only from marked neighbors";1517                "Allow multipaths only from marked neighbors";
1413            }1518            }
1414            leaf route-policy {1519            leaf route-policy {
1415              type xr:Route-policy-name;1520              type xr:Route-policy-name;
1416              description1521              description
1417                "Route-policy to select multipath";1522                "Route-policy to select multipath";
1418            }1523            }
1419          }1524          }
1420          container eibgp {1525          container eibgp {
1421            presence "Indicates an eibgp node is configured.";1526            presence "Indicates an eibgp node is configured.";
1422            description1527            description
1423              "eiBGP-multipath";1528              "eiBGP-multipath";
1424            leaf multipath {1529            leaf multipath {
1425              type uint32 {1530              type uint32 {
1426                range "2..1024" {1531                range "2..1024" {
1427                  description1532                  description
1428                    "Number of paths (limit includes backup path)";1533                    "Number of paths (limit includes backup path)";
1429                }1534                }
1430              }1535              }
1431              mandatory true;1536              mandatory true;
1432              description1537              description
1433                "eiBGP-multipath";1538                "eiBGP-multipath";
1434            }1539            }
1435            container selective {1540            container selective {
1436              presence "Indicates a selective node is configured.";1541              presence "Indicates a selective node is configured.";
1437              description1542              description
1438                "Allow multipaths only from marked neighbors";1543                "Allow multipaths only from marked neighbors";
1439            }1544            }
1440            container equal-cost {1545            container equal-cost {
1441              presence "Indicates a equal-cost node is configured.";1546              presence "Indicates a equal-cost node is configured.";
1442              description1547              description
1443                "Preserve equal nexthop IGP metric criteria for multipath eligiblity between same path-types (iBGP or eBGP)";1548                "Preserve equal nexthop IGP metric criteria for multipath eligiblity between same path-types (iBGP or eBGP)";
1444            }1549            }
1445            leaf route-policy {1550            leaf route-policy {
1446              type xr:Route-policy-name;1551              type xr:Route-policy-name;
1447              description1552              description
1448                "Route-policy to select multipath";1553                "Route-policy to select multipath";
1449            }1554            }
1450          }1555          }
1451          container ibgp {1556          container ibgp {
1452            presence "Indicates an ibgp node is configured.";1557            presence "Indicates an ibgp node is configured.";
1453            description1558            description
1454              "iBGP-multipath";1559              "iBGP-multipath";
1455            leaf multipath {1560            leaf multipath {
1456              type uint32 {1561              type uint32 {
1457                range "2..1024" {1562                range "2..1024" {
1458                  description1563                  description
1459                    "Number of paths (limit includes backup path)";1564                    "Number of paths (limit includes backup path)";
1460                }1565                }
1461              }1566              }
1462              mandatory true;1567              mandatory true;
1463              description1568              description
1464                "iBGP-multipath";1569                "iBGP-multipath";
1465            }1570            }
1466            container selective {1571            container selective {
1467              presence "Indicates a selective node is configured.";1572              presence "Indicates a selective node is configured.";
1468              description1573              description
1469                "Allow multipaths only from marked neighbors";1574                "Allow multipaths only from marked neighbors";
1470            }1575            }
1471            container unequal-cost {1576            container unequal-cost {
1472              presence "Indicates an unequal-cost node is configured.";1577              presence "Indicates an unequal-cost node is configured.";
1473              description1578              description
1474                "Allow multipaths to have different BGP nexthop IGP metrics ";1579                "Allow multipaths to have different BGP nexthop IGP metrics ";
1475              container deterministic {1580              container deterministic {
1476                presence "Indicates a deterministic node is configured.";1581                presence "Indicates a deterministic node is configured.";
1477                description1582                description
1478                  "Deterministic Multipath selection primarily on IGP metric order";1583                  "Deterministic Multipath selection primarily on IGP metric order";
1479              }1584              }
1480            }1585            }
1481            leaf route-policy {1586            leaf route-policy {
1482              type xr:Route-policy-name;1587              type xr:Route-policy-name;
1483              description1588              description
1484                "Route-policy to select multipath";1589                "Route-policy to select multipath";
1485            }1590            }
1486          }1591          }
1487          container unique-nexthop-check-disable {1592          container unique-nexthop-check-disable {
1488            presence "Indicates a unique-nexthop-check-disable node is configured.";1593            presence "Indicates a unique-nexthop-check-disable node is configured.";
1489            description1594            description
1490              "Disable multipath unique nexthop check";1595              "Disable multipath unique nexthop check";
1491          }1596          }
1492        }1597        }
1493        container import {1598        container import {
1494          when "../af-name = 'ipv4-unicast' or ../af-name = 'ipv6-unicast'";1599          when "../af-name = 'ipv4-unicast' or ../af-name = 'ipv6-unicast'";
1495          description1600          description
1496            "Configure import rules";1601            "Configure import rules";
1497          container from {1602          container from {
1498            description1603            description
1499              "Import routes from source";1604              "Import routes from source";
1500            container bridge-domain {1605            container bridge-domain {
1501              presence "Indicates a bridge-domain node is configured.";1606              presence "Indicates a bridge-domain node is configured.";
1502              description1607              description
1503                "Import EVPN IP hosts from bridge-domain";1608                "Import EVPN IP hosts from bridge-domain";
1504            }1609            }
1505          }1610          }
1506        }1611        }
1507        container additional-paths {1612        container additional-paths {
1508          when "../af-name != 'ipv4-multicast' and ../af-name != 'ipv6-multicast' and ../af-name != 'ipv4-mdt' and ../af-name != 'l2vpn-vpls-vpws' and ../af-name != 'ipv4-tunnel'";1613          when "../af-name != 'ipv4-multicast' and ../af-name != 'ipv6-multicast' and ../af-name != 'ipv4-mdt' and ../af-name != 'l2vpn-vpls-vpws' and ../af-name != 'ipv4-tunnel'";
1509          description1614          description
1510            "Additional paths configuration";1615            "Additional paths configuration";
1511          container send {1616          container send {
1512            presence "Indicates a send node is configured.";1617            presence "Indicates a send node is configured.";
1513            description1618            description
1514              "Additional paths Send capability";1619              "Additional paths Send capability";
1515          }1620          }
1516          container receive {1621          container receive {
1517            presence "Indicates a receive node is configured.";1622            presence "Indicates a receive node is configured.";
1518            description1623            description
1519              "Additional paths Receive capability";1624              "Additional paths Receive capability";
1520          }1625          }
1521          container selection {1626          container selection {
1522            description1627            description
1523              "Additional paths selection";1628              "Additional paths selection";
1524            leaf route-policy {1629            leaf route-policy {
1525              type xr:Route-policy-name;1630              type xr:Route-policy-name;
1526              description1631              description
1527                "Route-policy for additional paths selection";1632                "Route-policy for additional paths selection";
1528            }1633            }
1529          }1634          }
1530          container advertise-limit {1635          container advertise-limit {
1531            description1636            description
1532              "Limit the number of paths to be advertised (default 32)";1637              "Limit the number of paths to be advertised (default 32)";
1533            container disable {1638            container disable {
1534              presence "Indicates a disable node is configured.";1639              presence "Indicates a disable node is configured.";
1535              description1640              description
1536                "Disable advertise-limit for this vrf address-family";1641                "Disable advertise-limit for this vrf address-family";
1537            }1642            }
1538            leaf advertise-path-limit-value {1643            leaf advertise-path-limit-value {
1539              type uint32 {1644              type uint32 {
1540                range "33..96" {1645                range "33..96" {
1541                  description1646                  description
1542                    "Advertise path limit value";1647                    "Advertise path limit value";
1543                }1648                }
1544              }1649              }
1545              description1650              description
1546                "Advertise path limit value";1651                "Advertise path limit value";
1547            }1652            }
1548          }1653          }
1549        }1654        }
1550        container permanent-network {1655        container permanent-network {
1551          description1656          description
1552            "Permanent network configuration";1657            "Permanent network configuration";
1553          leaf route-policy {1658          leaf route-policy {
1554            type xr:Route-policy-name;1659            type xr:Route-policy-name;
1555            description1660            description
1556              "Route policy to read the prefixes from";1661              "Route policy to read the prefixes from";
1557          }1662          }
1558        }1663        }
1559        container advertise {1664        container advertise {
1560          description1665          description
1561            "Advertise BGP path";1666            "Advertise BGP path";
1562          container best-external {1667          container best-external {
1563            presence "Indicates a best-external node is configured.";1668            presence "Indicates a best-external node is configured.";
1564            description1669            description
1565              "Advertise best-external path";1670              "Advertise best-external path";
1566            container labeled-unicast {1671            container labeled-unicast {
1567              must "not(../disable)";1672              must "not(../disable)";
1568              presence "Indicates a labeled-unicast node is configured.";1673              presence "Indicates a labeled-unicast node is configured.";
1569              description1674              description
1570                "Limit best-external to Labeled-Unicast address family";1675                "Limit best-external to Labeled-Unicast address family";
1571            }1676            }
1572            container disable {1677            container disable {
1573              must "not(../labeled-unicast)";1678              must "not(../labeled-unicast)";
1574              presence "Indicates a disable node is configured.";1679              presence "Indicates a disable node is configured.";
1575              description1680              description
1576                "Do not advertise best-external path";1681                "Do not advertise best-external path";
1577            }1682            }
1578          }1683          }
1579          container local-labeled-route {1684          container local-labeled-route {
1580            when "../../af-name = 'ipv4-unicast' or ../../af-name = 'ipv6-unicast'";1685            when "../../af-name = 'ipv4-unicast' or ../../af-name = 'ipv6-unicast'";
1581            description1686            description
1582              "Advertisement of routes with local-label";1687              "Advertisement of routes with local-label";
1583            container safi-unicast {1688            container safi-unicast {
1584              description1689              description
1585                "Advertisement of routes with local-label via Unicast SAFI";1690                "Advertisement of routes with local-label via Unicast SAFI";
1586              container disable {1691              container disable {
1587                presence "Indicates a disable node is configured.";1692                presence "Indicates a disable node is configured.";
1588                description1693                description
1589                  "Do not advertise routes with local-label via Unicast SAFI";1694                  "Do not advertise routes with local-label via Unicast SAFI";
1590              }1695              }
1591            }1696            }
1592          }1697          }
1593          container epe-bgp {1698          container epe-bgp {
1594            description1699            description
1595              "Advertisement of bgp epe via as label Unicast";1700              "Advertisement of bgp epe via as label Unicast";
1596            container labeled-unicast {1701            container labeled-unicast {
1597              presence "Indicates a disable node is configured.";1702              presence "Indicates a disable node is configured.";
1598              description1703              description
1599                "Limit epe-bgplu to Labeled-Unicast address family";1704                "Limit epe-bgplu to Labeled-Unicast address family";
1600            }1705            }
1601          }1706          }
1602        }1707        }
1603        container nexthop {1708        container nexthop {
1604          description1709          description
1605            "Nexthop";1710            "Nexthop";
1606          container resolution {1711          container resolution {
1607            description1712            description
1608              "Nexthop resolution";1713              "Nexthop resolution";
1609            container prefix-length {1714            container prefix-length {
1610              description1715              description
1611                "Nexthop resolution prefix-length";1716                "Nexthop resolution prefix-length";
1612              leaf minimum {1717              leaf minimum {
1613                type union {1718                type union {
1614                  type uint32 {1719                  type uint32 {
1615                    range "0..32" {1720                    range "0..32" {
1616                      description1721                      description
1617                        "Prefix-length value";1722                        "Prefix-length value";
1618                    }1723                    }
1619                  }1724                  }
1620                  type uint32 {1725                  type uint32 {
1621                    range "0..128" {1726                    range "0..128" {
1622                      description1727                      description
1623                        "Prefix-length value";1728                        "Prefix-length value";
1624                    }1729                    }
1625                  }1730                  }
1626                }1731                }
1627                description1732                description
1628                  "Set minimum prefix-length for nexthop resolution";1733                  "Set minimum prefix-length for nexthop resolution";
1629              }1734              }
1630              leaf ipv6 {1735              leaf ipv6 {
1631                type uint32 {1736                type uint32 {
1632                  range "0..128" {1737                  range "0..128" {
1633                    description1738                    description
1634                      "IPv6 Prefix-length value";1739                      "IPv6 Prefix-length value";
1635                  }1740                  }
1636                }1741                }
1637                description1742                description
1638                  "IPv6 Prefix-length value";1743                  "IPv6 Prefix-length value";
1639              }1744              }
1640            }1745            }
1641          }1746          }
1642          container trigger-delay {1747          container trigger-delay {
1643            description1748            description
1644              "Processing trigger delay";1749              "Processing trigger delay";
1645            leaf critical {1750            leaf critical {
1646              type uint32 {1751              type uint32 {
1647                range "0..4294967295" {1752                range "0..4294967295" {
1648                  description1753                  description
1649                    "Delay in milliseconds";1754                    "Delay in milliseconds";
1650                }1755                }
1651              }1756              }
1652              description1757              description
1653                "For critical notification";1758                "For critical notification";
1654            }1759            }
1655            leaf non-critical {1760            leaf non-critical {
1656              type uint32 {1761              type uint32 {
1657                range "0..4294967295" {1762                range "0..4294967295" {
1658                  description1763                  description
1659                    "Delay in milliseconds";1764                    "Delay in milliseconds";
1660                }1765                }
1661              }1766              }
1662              description1767              description
1663                "For non-critical notification";1768                "For non-critical notification";
1664            }1769            }
1665          }1770          }
1666          leaf route-policy {1771          leaf route-policy {
1667            type xr:Route-policy-name;1772            type xr:Route-policy-name;
1668            description1773            description
1669              "Policy to filter out nexthop notification";1774              "Policy to filter out nexthop notification";
1670          }1775          }
1671        }1776        }
1672        container networks {1777        container networks {
1673          description1778          description
1674            "Specify a network to announce via BGP";1779            "Specify a network to announce via BGP";
1675          list network {1780          list network {
1676            key "address masklength";1781            key "address masklength";
1677            description1782            description
1678              "IPv6 network and mask or masklength";1783              "IPv6 network and mask or masklength";
1679            leaf address {1784            leaf address {
1680              type inet:ip-address-no-zone;1785              type inet:ip-address-no-zone;
1681              description1786              description
1682                "IPv6 network and mask or masklength";1787                "IPv6 network and mask or masklength";
1683            }1788            }
1684            leaf masklength {1789            leaf masklength {
1685              type uint16 {1790              type uint16 {
1686                range "0..128";1791                range "0..128";
1687              }1792              }
1688              description1793              description
1689                "Network in prefix/length format (prefix part)";1794                "Network in prefix/length format (prefix part)";
1690            }1795            }
1691            leaf route-policy {1796            leaf route-policy {
1692              type xr:Route-policy-name;1797              type xr:Route-policy-name;
1693              description1798              description
1694                "Route-policy to modify the attributes";1799                "Route-policy to modify the attributes";
1695            }1800            }
1696            container backdoor {1801            container backdoor {
1697              presence "Indicates a backdoor node is configured.";1802              presence "Indicates a backdoor node is configured.";
1698              description1803              description
1699                "Specify a BGP backdoor route";1804                "Specify a BGP backdoor route";
1700            }1805            }
1701            container multipath {1806            container multipath {
1702              presence "Indicates a backdoor node is configured.";1807              presence "Indicates a backdoor node is configured.";
1703              description1808              description
1704                "Enable installation of multiple paths from RIB";1809                "Enable installation of multiple paths from RIB";
1705            }1810            }
1706          }1811          }
1707        }1812        }
1708        container aggregate-addresses {1813        container aggregate-addresses {
1709          description1814          description
1710            "Configure BGP aggregate entries";1815            "Configure BGP aggregate entries";
1711          list aggregate-address {1816          list aggregate-address {
1712            key "address masklength";1817            key "address masklength";
1713            description1818            description
1714              "IPv6 Aggregate address and mask or masklength";1819              "IPv6 Aggregate address and mask or masklength";
1715            leaf address {1820            leaf address {
1716              type inet:ip-address-no-zone;1821              type inet:ip-address-no-zone;
1717              description1822              description
1718                "IPv6 Aggregate address and mask or masklength";1823                "IPv6 Aggregate address and mask or masklength";
1719            }1824            }
1720            leaf masklength {1825            leaf masklength {
1721              type uint16 {1826              type uint16 {
1722                range "0..128";1827                range "0..128";
1723              }1828              }
1724              description1829              description
1725                "Network in prefix/length format (prefix part)";1830                "Network in prefix/length format (prefix part)";
1726            }1831            }
1727            container as-set {1832            container as-set {
1728              presence "Indicates a as-set node is configured.";1833              presence "Indicates a as-set node is configured.";
1729              description1834              description
1730                "Generate AS set path information";1835                "Generate AS set path information";
1731            }1836            }
1732            container as-confed-set {1837            container as-confed-set {
1733              presence "Indicates a as-confed-set node is configured.";1838              presence "Indicates a as-confed-set node is configured.";
1734              description1839              description
1735                "Generate AS confed set path information";1840                "Generate AS confed set path information";
1736            }1841            }
1737            container summary-only {1842            container summary-only {
1738              presence "Indicates a summary-only node is configured.";1843              presence "Indicates a summary-only node is configured.";
1739              description1844              description
1740                "Filter more specific routes from updates";1845                "Filter more specific routes from updates";
1741            }1846            }
1742            leaf route-policy {1847            leaf route-policy {
1743              type xr:Route-policy-name;1848              type xr:Route-policy-name;
1744              description1849              description
1745                "Policy to condition advertisement, suppression, and attributes";1850                "Policy to condition advertisement, suppression, and attributes";
1746            }1851            }
1747            leaf description {1852            leaf description {
1748              type xr:Cisco-ios-xr-string {1853              type xr:Cisco-ios-xr-string {
1749                length "1..1024" {1854                length "1..1024" {
1750                  description1855                  description
1751                    "Description string";1856                    "Description string";
1752                }1857                }
1753              }1858              }
1754              description1859              description
1755                "Description to the aggregate address configuration";1860                "Description to the aggregate address configuration";
1756            }1861            }
1757            leaf set-tag {1862            leaf set-tag {
1758              type uint32 {1863              type uint32 {
1759                range "1..4294967295";1864                range "1..4294967295";
1760              }1865              }
1761              description1866              description
1762                "IGP tag value for the route";1867                "IGP tag value for the route";
1763            }1868            }
1764          }1869          }
1765        }1870        }
1766        container redistribute {1871        container redistribute {
1767          when "../af-name = 'ipv4-unicast' or ../af-name = 'ipv4-multicast' or ../af-name = 'ipv6-unicast' or ../af-name = 'ipv6-multicast'";1872          when "../af-name = 'ipv4-unicast' or ../af-name = 'ipv4-multicast' or ../af-name = 'ipv6-unicast' or ../af-name = 'ipv6-multicast'";
1768          description1873          description
1769            "Redistribute information from another routing protocol";1874            "Redistribute information from another routing protocol";
1770          list ospf {1875          list ospf {
1771            key "router-tag";1876            key "router-tag";
1772            description1877            description
1773              "Open Shortest Path First (OSPF or OSPFv3)";1878              "Open Shortest Path First (OSPF or OSPFv3)";
1774            leaf router-tag {1879            leaf router-tag {
1775              type xr:Cisco-ios-xr-string {1880              type xr:Cisco-ios-xr-string {
1776                length "1..1024" {1881                length "1..1024" {
1777                  description1882                  description
1778                    "OSPF router tag";1883                    "OSPF router tag";
1779                }1884                }
1780              }1885              }
1781              description1886              description
1782                "Open Shortest Path First (OSPF)";1887                "Open Shortest Path First (OSPF)";
1783            }1888            }
1784            container match {1889            container match {
1785              presence "Indicates a match node is configured.";1890              presence "Indicates a match node is configured.";
1786              description1891              description
1787                "Redistribution of OSPF routes";1892                "Redistribution of OSPF routes";
1788              container internal {1893              container internal {
1789                presence "Indicates a internal node is configured.";1894                presence "Indicates a internal node is configured.";
1790                description1895                description
1791                  "Redistribute OSPF internal routes";1896                  "Redistribute OSPF internal routes";
1792                container external {1897                container external {
1793                  presence "Indicates a external node is configured.";1898                  presence "Indicates a external node is configured.";
1794                  description1899                  description
1795                    "Redistribute OSPF external routes";1900                    "Redistribute OSPF external routes";
1796                  container one {1901                  container one {
1797                    presence "Indicates a one node is configured.";1902                    presence "Indicates a one node is configured.";
1798                    description1903                    description
1799                      "Redistribute external type 1 routes";1904                      "Redistribute external type 1 routes";
1800                    container nssa-external {1905                    container nssa-external {
1801                      presence "Indicates a nssa-external node is configured.";1906                      presence "Indicates a nssa-external node is configured.";
1802                      description1907                      description
1803                        "Redistribute OSPF NSSA external routes";1908                        "Redistribute OSPF NSSA external routes";
1804                      container one {1909                      container one {
1805                        presence "Indicates a one node is configured.";1910                        presence "Indicates a one node is configured.";
1806                        description1911                        description
1807                          "Redistribute NSSA external type 1 routes";1912                          "Redistribute NSSA external type 1 routes";
1808                      }1913                      }
1809                      container two {1914                      container two {
1810                        presence "Indicates a two node is configured.";1915                        presence "Indicates a two node is configured.";
1811                        description1916                        description
1812                          "Redistribute NSSA external type 2 routes";1917                          "Redistribute NSSA external type 2 routes";
1813                      }1918                      }
1814                    }1919                    }
1815                  }1920                  }
1816                  container two {1921                  container two {
1817                    presence "Indicates a two node is configured.";1922                    presence "Indicates a two node is configured.";
1818                    description1923                    description
1819                      "Redistribute external type 2 routes";1924                      "Redistribute external type 2 routes";
1820                    container nssa-external {1925                    container nssa-external {
1821                      presence "Indicates a nssa-external node is configured.";1926                      presence "Indicates a nssa-external node is configured.";
1822                      description1927                      description
1823                        "Redistribute OSPF NSSA external routes";1928                        "Redistribute OSPF NSSA external routes";
1824                      container one {1929                      container one {
1825                        presence "Indicates a one node is configured.";1930                        presence "Indicates a one node is configured.";
1826                        description1931                        description
1827                          "Redistribute NSSA external type 1 routes";1932                          "Redistribute NSSA external type 1 routes";
1828                      }1933                      }
1829                      container two {1934                      container two {
1830                        presence "Indicates a two node is configured.";1935                        presence "Indicates a two node is configured.";
1831                        description1936                        description
1832                          "Redistribute NSSA external type 2 routes";1937                          "Redistribute NSSA external type 2 routes";
1833                      }1938                      }
1834                    }1939                    }
1835                  }1940                  }
1836                  container nssa-external {1941                  container nssa-external {
1837                    presence "Indicates a nssa-external node is configured.";1942                    presence "Indicates a nssa-external node is configured.";
1838                    description1943                    description
1839                      "Redistribute OSPF NSSA external routes";1944                      "Redistribute OSPF NSSA external routes";
1840                    container one {1945                    container one {
1841                      presence "Indicates a one node is configured.";1946                      presence "Indicates a one node is configured.";
1842                      description1947                      description
1843                        "Redistribute NSSA external type 1 routes";1948                        "Redistribute NSSA external type 1 routes";
1844                    }1949                    }
1845                    container two {1950                    container two {
1846                      presence "Indicates a two node is configured.";1951                      presence "Indicates a two node is configured.";
1847                      description1952                      description
1848                        "Redistribute NSSA external type 2 routes";1953                        "Redistribute NSSA external type 2 routes";
1849                    }1954                    }
1850                  }1955                  }
1851                }1956                }
1852                container nssa-external {1957                container nssa-external {
1853                  presence "Indicates a nssa-external node is configured.";1958                  presence "Indicates a nssa-external node is configured.";
1854                  description1959                  description
1855                    "Redistribute OSPF NSSA external routes";1960                    "Redistribute OSPF NSSA external routes";
1856                  container one {1961                  container one {
1857                    presence "Indicates a one node is configured.";1962                    presence "Indicates a one node is configured.";
1858                    description1963                    description
1859                      "Redistribute NSSA external type 1 routes";1964                      "Redistribute NSSA external type 1 routes";
1860                  }1965                  }
1861                  container two {1966                  container two {
1862                    presence "Indicates a two node is configured.";1967                    presence "Indicates a two node is configured.";
1863                    description1968                    description
1864                      "Redistribute NSSA external type 2 routes";1969                      "Redistribute NSSA external type 2 routes";
1865                  }1970                  }
1866                }1971                }
1867              }1972              }
1868              container external {1973              container external {
1869                presence "Indicates a external node is configured.";1974                presence "Indicates a external node is configured.";
1870                description1975                description
1871                  "Redistribute OSPF external routes";1976                  "Redistribute OSPF external routes";
1872                container one {1977                container one {
1873                  presence "Indicates a one node is configured.";1978                  presence "Indicates a one node is configured.";
1874                  description1979                  description
1875                    "Redistribute external type 1 routes";1980                    "Redistribute external type 1 routes";
1876                  container nssa-external {1981                  container nssa-external {
1877                    presence "Indicates a nssa-external node is configured.";1982                    presence "Indicates a nssa-external node is configured.";
1878                    description1983                    description
1879                      "Redistribute OSPF NSSA external routes";1984                      "Redistribute OSPF NSSA external routes";
1880                    container one {1985                    container one {
1881                      presence "Indicates a one node is configured.";1986                      presence "Indicates a one node is configured.";
1882                      description1987                      description
1883                        "Redistribute NSSA external type 1 routes";1988                        "Redistribute NSSA external type 1 routes";
1884                    }1989                    }
1885                    container two {1990                    container two {
1886                      presence "Indicates a two node is configured.";1991                      presence "Indicates a two node is configured.";
1887                      description1992                      description
1888                        "Redistribute NSSA external type 2 routes";1993                        "Redistribute NSSA external type 2 routes";
1889                    }1994                    }
1890                  }1995                  }
1891                }1996                }
1892                container two {1997                container two {
1893                  presence "Indicates a two node is configured.";1998                  presence "Indicates a two node is configured.";
1894                  description1999                  description
1895                    "Redistribute external type 2 routes";2000                    "Redistribute external type 2 routes";
1896                  container nssa-external {2001                  container nssa-external {
1897                    presence "Indicates a nssa-external node is configured.";2002                    presence "Indicates a nssa-external node is configured.";
1898                    description2003                    description
1899                      "Redistribute OSPF NSSA external routes";2004                      "Redistribute OSPF NSSA external routes";
1900                    container one {2005                    container one {
1901                      presence "Indicates a one node is configured.";2006                      presence "Indicates a one node is configured.";
1902                      description2007                      description
1903                        "Redistribute NSSA external type 1 routes";2008                        "Redistribute NSSA external type 1 routes";
1904                    }2009                    }
1905                    container two {2010                    container two {
1906                      presence "Indicates a two node is configured.";2011                      presence "Indicates a two node is configured.";
1907                      description2012                      description
1908                        "Redistribute NSSA external type 2 routes";2013                        "Redistribute NSSA external type 2 routes";
1909                    }2014                    }
1910                  }2015                  }
1911                }2016                }
1912                container nssa-external {2017                container nssa-external {
1913                  presence "Indicates a nssa-external node is configured.";2018                  presence "Indicates a nssa-external node is configured.";
1914                  description2019                  description
1915                    "Redistribute OSPF NSSA external routes";2020                    "Redistribute OSPF NSSA external routes";
1916                  container one {2021                  container one {
1917                    presence "Indicates a one node is configured.";2022                    presence "Indicates a one node is configured.";
1918                    description2023                    description
1919                      "Redistribute NSSA external type 1 routes";2024                      "Redistribute NSSA external type 1 routes";
1920                  }2025                  }
1921                  container two {2026                  container two {
1922                    presence "Indicates a two node is configured.";2027                    presence "Indicates a two node is configured.";
1923                    description2028                    description
1924                      "Redistribute NSSA external type 2 routes";2029                      "Redistribute NSSA external type 2 routes";
1925                  }2030                  }
1926                }2031                }
1927              }2032              }
1928              container nssa-external {2033              container nssa-external {
1929                presence "Indicates a nssa-external node is configured.";2034                presence "Indicates a nssa-external node is configured.";
1930                description2035                description
1931                  "Redistribute OSPF NSSA external routes";2036                  "Redistribute OSPF NSSA external routes";
1932                container one {2037                container one {
1933                  presence "Indicates a one node is configured.";2038                  presence "Indicates a one node is configured.";
1934                  description2039                  description
1935                    "Redistribute NSSA external type 1 routes";2040                    "Redistribute NSSA external type 1 routes";
1936                }2041                }
1937                container two {2042                container two {
1938                  presence "Indicates a two node is configured.";2043                  presence "Indicates a two node is configured.";
1939                  description2044                  description
1940                    "Redistribute NSSA external type 2 routes";2045                    "Redistribute NSSA external type 2 routes";
1941                }2046                }
1942              }2047              }
1943            }2048            }
1944            container multipath {2049            container multipath {
1945              presence "Indicates a multipath node is configured.";2050              presence "Indicates a multipath node is configured.";
1946              description2051              description
1947                "Enable installation of multiple paths from RIB";2052                "Enable installation of multiple paths from RIB";
1948            }2053            }
1949            leaf metric {2054            leaf metric {
1950              type uint32 {2055              type uint32 {
1951                range "0..4294967295" {2056                range "0..4294967295" {
1952                  description2057                  description
1953                    "Default metric";2058                    "Default metric";
1954                }2059                }
1955              }2060              }
1956              description2061              description
1957                "Metric for redistributed routes";2062                "Metric for redistributed routes";
1958            }2063            }
1959            leaf route-policy {2064            leaf route-policy {
1960              type xr:Route-policy-name;2065              type xr:Route-policy-name;
1961              description2066              description
1962                "Route policy reference";2067                "Route policy reference";
1963            }2068            }
1964          }2069          }
1965          list eigrp {2070          list eigrp {
1966            key "instance-name";2071            key "instance-name";
1967            description2072            description
1968              "Enhanced Interior Gateway Routing Protocol (EIGRP)";2073              "Enhanced Interior Gateway Routing Protocol (EIGRP)";
1969            leaf instance-name {2074            leaf instance-name {
1970              type xr:Cisco-ios-xr-string {2075              type xr:Cisco-ios-xr-string {
1971                length "1..1024" {2076                length "1..1024" {
1972                  description2077                  description
1973                    "EIGRP instance name";2078                    "EIGRP instance name";
1974                }2079                }
1975              }2080              }
1976              description2081              description
1977                "Enhanced Interior Gateway Routing Protocol (EIGRP)";2082                "Enhanced Interior Gateway Routing Protocol (EIGRP)";
1978            }2083            }
1979            container match {2084            container match {
1980              description2085              description
1981                "EIGRP route type for redistribution";2086                "EIGRP route type for redistribution";
1982              container internal {2087              container internal {
1983                presence "Indicates a internal node is configured.";2088                presence "Indicates a internal node is configured.";
1984                description2089                description
1985                  "Redistribute EIGRP internal routes";2090                  "Redistribute EIGRP internal routes";
1986                container external {2091                container external {
1987                  presence "Indicates a external node is configured.";2092                  presence "Indicates a external node is configured.";
1988                  description2093                  description
1989                    "Redistribute EIGRP external routes";2094                    "Redistribute EIGRP external routes";
1990                }2095                }
1991              }2096              }
1992              container external {2097              container external {
1993                presence "Indicates a external node is configured.";2098                presence "Indicates a external node is configured.";
1994                description2099                description
1995                  "Redistribute EIGRP external routes";2100                  "Redistribute EIGRP external routes";
1996              }2101              }
1997            }2102            }
1998            container multipath {2103            container multipath {
1999              presence "Indicates a multipath node is configured.";2104              presence "Indicates a multipath node is configured.";
2000              description2105              description
2001                "Enable installation of multiple paths from RIB";2106                "Enable installation of multiple paths from RIB";
2002            }2107            }
2003            leaf metric {2108            leaf metric {
2004              type uint32 {2109              type uint32 {
2005                range "0..4294967295" {2110                range "0..4294967295" {
2006                  description2111                  description
2007                    "Default metric";2112                    "Default metric";
2008                }2113                }
2009              }2114              }
2010              description2115              description
2011                "Metric for redistributed routes";2116                "Metric for redistributed routes";
2012            }2117            }
2013            leaf route-policy {2118            leaf route-policy {
2014              type xr:Route-policy-name;2119              type xr:Route-policy-name;
2015              description2120              description
2016                "Route policy reference";2121                "Route policy reference";
2017            }2122            }
2018          }2123          }
2019          list isis {2124          list isis {
2020            key "instance-name";2125            key "instance-name";
2021            description2126            description
2022              "ISO IS-IS";2127              "ISO IS-IS";
2023            leaf instance-name {2128            leaf instance-name {
2024              type xr:Cisco-ios-xr-string {2129              type xr:Cisco-ios-xr-string {
2025                length "1..1024" {2130                length "1..1024" {
2026                  description2131                  description
2027                    "IS-IS instance name";2132                    "IS-IS instance name";
2028                }2133                }
2029              }2134              }
2030              description2135              description
2031                "ISO IS-IS";2136                "ISO IS-IS";
2032            }2137            }
2033            container level {2138            container level {
2034              description2139              description
2035                "Redistribute routes from the specified ISIS levels";2140                "Redistribute routes from the specified ISIS levels";
2036              container one {2141              container one {
2037                presence "Indicates a one node is configured.";2142                presence "Indicates a one node is configured.";
2038                description2143                description
2039                  "Redistribute ISIS level 1 routes";2144                  "Redistribute ISIS level 1 routes";
2040                container two {2145                container two {
2041                  presence "Indicates a two node is configured.";2146                  presence "Indicates a two node is configured.";
2042                  description2147                  description
2043                    "Redistribute ISIS level 2 ISIS routes";2148                    "Redistribute ISIS level 2 ISIS routes";
2044                  container one-inter-area {2149                  container one-inter-area {
2045                    presence "Indicates a one-inter-area node is configured.";2150                    presence "Indicates a one-inter-area node is configured.";
2046                    description2151                    description
2047                      "Redistribute ISIS level 1 inter-area routes";2152                      "Redistribute ISIS level 1 inter-area routes";
2048                  }2153                  }
2049                }2154                }
2050                container one-inter-area {2155                container one-inter-area {
2051                  presence "Indicates a one-inter-area node is configured.";2156                  presence "Indicates a one-inter-area node is configured.";
2052                  description2157                  description
2053                    "Redistribute ISIS level 1 inter-area routes";2158                    "Redistribute ISIS level 1 inter-area routes";
2054                }2159                }
2055              }2160              }
2056              container two {2161              container two {
2057                presence "Indicates a two node is configured.";2162                presence "Indicates a two node is configured.";
2058                description2163                description
2059                  "Redistribute ISIS level 2 ISIS routes";2164                  "Redistribute ISIS level 2 ISIS routes";
2060                container one-inter-area {2165                container one-inter-area {
2061                  presence "Indicates a one-inter-area node is configured.";2166                  presence "Indicates a one-inter-area node is configured.";
2062                  description2167                  description
2063                    "Redistribute ISIS level 1 inter-area routes";2168                    "Redistribute ISIS level 1 inter-area routes";
2064                }2169                }
2065              }2170              }
2066              container one-inter-area {2171              container one-inter-area {
2067                presence "Indicates a one-inter-area node is configured.";2172                presence "Indicates a one-inter-area node is configured.";
2068                description2173                description
2069                  "Redistribute ISIS level 1 inter-area routes";2174                  "Redistribute ISIS level 1 inter-area routes";
2070              }2175              }
2071            }2176            }
2072            leaf metric {2177            leaf metric {
2073              type uint32 {2178              type uint32 {
2074                range "0..4294967295" {2179                range "0..4294967295" {
2075                  description2180                  description
2076                    "Default metric";2181                    "Default metric";
2077                }2182                }
2078              }2183              }
2079              description2184              description
2080                "Metric for redistributed routes";2185                "Metric for redistributed routes";
2081            }2186            }
2082            leaf route-policy {2187            leaf route-policy {
2083              type xr:Route-policy-name;2188              type xr:Route-policy-name;
2084              description2189              description
2085                "Route policy reference";2190                "Route policy reference";
2086            }2191            }
2087            container multipath {2192            container multipath {
2088              presence "Indicates a multipath node is configured.";2193              presence "Indicates a multipath node is configured.";
2089              description2194              description
2090                "Enable installation of multiple paths from RIB";2195                "Enable installation of multiple paths from RIB";
2091            }2196            }
2092          }2197          }
2093          list application {2198          list application {
2094            key "application-name";2199            key "application-name";
2095            description2200            description
2096              "OnePK application routes";2201              "OnePK application routes";
2097            leaf application-name {2202            leaf application-name {
2098              type string {2203              type string {
2099                length "1..1024" {2204                length "1..1024" {
2100                  description2205                  description
2101                    "OnePK application name";2206                    "OnePK application name";
2102                }2207                }
2103              }2208              }
2104              description2209              description
2105                "OnePK application name";2210                "OnePK application name";
2106            }2211            }
2107            leaf metric {2212            leaf metric {
2108              type uint32 {2213              type uint32 {
2109                range "0..4294967295" {2214                range "0..4294967295" {
2110                  description2215                  description
2111                    "Default metric";2216                    "Default metric";
2112                }2217                }
2113              }2218              }
2114              description2219              description
2115                "Metric for redistributed routes";2220                "Metric for redistributed routes";
2116            }2221            }
2117            leaf route-policy {2222            leaf route-policy {
2118              type xr:Route-policy-name;2223              type xr:Route-policy-name;
2119              description2224              description
2120                "Route policy reference";2225                "Route policy reference";
2121            }2226            }
2122            container multipath {2227            container multipath {
2123              presence "Indicates a multipath node is configured.";2228              presence "Indicates a multipath node is configured.";
2124              description2229              description
2125                "Enable installation of multiple paths from RIB";2230                "Enable installation of multiple paths from RIB";
2126            }2231            }
2127          }2232          }
2128          container connected {2233          container connected {
2129            presence "Indicates a connected node is configured.";2234            presence "Indicates a connected node is configured.";
2130            description2235            description
2131              "Connected routes";2236              "Connected routes";
2132            leaf metric {2237            leaf metric {
2133              type uint32 {2238              type uint32 {
2134                range "0..4294967295" {2239                range "0..4294967295" {
2135                  description2240                  description
2136                    "Default metric";2241                    "Default metric";
2137                }2242                }
2138              }2243              }
2139              description2244              description
2140                "Metric for redistributed routes";2245                "Metric for redistributed routes";
2141            }2246            }
2142            leaf route-policy {2247            leaf route-policy {
2143              type xr:Route-policy-name;2248              type xr:Route-policy-name;
2144              description2249              description
2145                "Route policy reference";2250                "Route policy reference";
2146            }2251            }
2147            container multipath {2252            container multipath {
2148              presence "Indicates a multipath node is configured.";2253              presence "Indicates a multipath node is configured.";
2149              description2254              description
2150                "Enable installation of multiple paths from RIB";2255                "Enable installation of multiple paths from RIB";
2151            }2256            }
2152          }2257          }
2153          container lisp {2258          container lisp {
2154            presence "Indicates a lisp node is configured.";2259            presence "Indicates a lisp node is configured.";
2155            description2260            description
2156              "Locator/ID Separation Protocol (LISP)";2261              "Locator/ID Separation Protocol (LISP)";
2157            leaf metric {2262            leaf metric {
2158              type uint32 {2263              type uint32 {
2159                range "0..4294967295" {2264                range "0..4294967295" {
2160                  description2265                  description
2161                    "Default metric";2266                    "Default metric";
2162                }2267                }
2163              }2268              }
2164              description2269              description
2165                "Metric for redistributed routes";2270                "Metric for redistributed routes";
2166            }2271            }
2167            leaf route-policy {2272            leaf route-policy {
2168              type xr:Route-policy-name;2273              type xr:Route-policy-name;
2169              description2274              description
2170                "Route policy reference";2275                "Route policy reference";
2171            }2276            }
2172            container multipath {2277            container multipath {
2173              presence "Indicates a multipath node is configured.";2278              presence "Indicates a multipath node is configured.";
2174              description2279              description
2175                "Enable installation of multiple paths from RIB";2280                "Enable installation of multiple paths from RIB";
2176            }2281            }
2177          }2282          }
2178          container mobile {2283          container mobile {
2179            presence "Indicates a mobile node is configured.";2284            presence "Indicates a mobile node is configured.";
2180            description2285            description
2181              "Mobile routes";2286              "Mobile routes";
2182            leaf metric {2287            leaf metric {
2183              type uint32 {2288              type uint32 {
2184                range "0..4294967295" {2289                range "0..4294967295" {
2185                  description2290                  description
2186                    "Default metric";2291                    "Default metric";
2187                }2292                }
2188              }2293              }
2189              description2294              description
2190                "Metric for redistributed routes";2295                "Metric for redistributed routes";
2191            }2296            }
2192            leaf route-policy {2297            leaf route-policy {
2193              type xr:Route-policy-name;2298              type xr:Route-policy-name;
2194              description2299              description
2195                "Route policy reference";2300                "Route policy reference";
2196            }2301            }
2197            container multipath {2302            container multipath {
2198              presence "Indicates a multipath node is configured.";2303              presence "Indicates a multipath node is configured.";
2199              description2304              description
2200                "Enable installation of multiple paths from RIB";2305                "Enable installation of multiple paths from RIB";
2201            }2306            }
2202          }2307          }
2203          container rip {2308          container rip {
2204            when "../../af-name = 'ipv4-unicast' or ../../af-name = 'ipv4-multicast'";2309            when "../../af-name = 'ipv4-unicast' or ../../af-name = 'ipv4-multicast'";
2205            presence "Indicates a rip node is configured.";2310            presence "Indicates a rip node is configured.";
2206            description2311            description
2207              "Routing Information Protocol (RIP)";2312              "Routing Information Protocol (RIP)";
2208            leaf metric {2313            leaf metric {
2209              type uint32 {2314              type uint32 {
2210                range "0..4294967295" {2315                range "0..4294967295" {
2211                  description2316                  description
2212                    "Default metric";2317                    "Default metric";
2213                }2318                }
2214              }2319              }
2215              description2320              description
2216                "Metric for redistributed routes";2321                "Metric for redistributed routes";
2217            }2322            }
2218            leaf route-policy {2323            leaf route-policy {
2219              type xr:Route-policy-name;2324              type xr:Route-policy-name;
2220              description2325              description
2221                "Route policy reference";2326                "Route policy reference";
2222            }2327            }
2223            container multipath {2328            container multipath {
2224              presence "Indicates a multipath node is configured.";2329              presence "Indicates a multipath node is configured.";
2225              description2330              description
2226                "Enable installation of multiple paths from RIB";2331                "Enable installation of multiple paths from RIB";
2227            }2332            }
2228          }2333          }
2229          container static {2334          container static {
2230            presence "Indicates a static node is configured.";2335            presence "Indicates a static node is configured.";
2231            description2336            description
2232              "Static routes";2337              "Static routes";
2233            leaf metric {2338            leaf metric {
2234              type uint32 {2339              type uint32 {
2235                range "0..4294967295" {2340                range "0..4294967295" {
2236                  description2341                  description
2237                    "Default metric";2342                    "Default metric";
2238                }2343                }
2239              }2344              }
2240              description2345              description
2241                "Metric for redistributed routes";2346                "Metric for redistributed routes";
2242            }2347            }
2243            leaf route-policy {2348            leaf route-policy {
2244              type xr:Route-policy-name;2349              type xr:Route-policy-name;
2245              description2350              description
2246                "Route policy reference";2351                "Route policy reference";
2247            }2352            }
2248            container multipath {2353            container multipath {
2249              presence "Indicates a multipath node is configured.";2354              presence "Indicates a multipath node is configured.";
2250              description2355              description
2251                "Enable installation of multiple paths from RIB";2356                "Enable installation of multiple paths from RIB";
2252            }2357            }
2253          }2358          }
2254          container subscriber {2359          container subscriber {
2255            presence "Indicates a lisp node is configured.";2360            presence "Indicates a lisp node is configured.";
2256            description2361            description
2257              "subscriber routes";2362              "subscriber routes";
2258            leaf metric {2363            leaf metric {
2259              type uint32 {2364              type uint32 {
2260                range "0..4294967295" {2365                range "0..4294967295" {
2261                  description2366                  description
2262                    "Default metric";2367                    "Default metric";
2263                }2368                }
2264              }2369              }
2265              description2370              description
2266                "Metric for redistributed routes";2371                "Metric for redistributed routes";
2267            }2372            }
2268            leaf route-policy {2373            leaf route-policy {
2269              type xr:Route-policy-name;2374              type xr:Route-policy-name;
2270              description2375              description
2271                "Route policy reference";2376                "Route policy reference";
2272            }2377            }
2273            container multipath {2378            container multipath {
2274              presence "Indicates a multipath node is configured.";2379              presence "Indicates a multipath node is configured.";
2275              description2380              description
2276                "Enable installation of multiple paths from RIB";2381                "Enable installation of multiple paths from RIB";
2277            }2382            }
2278          }2383          }
2279        }2384        }
2280        leaf table-policy {2385        leaf table-policy {
2281          type xr:Route-policy-name;2386          type xr:Route-policy-name;
2282          description2387          description
2283            "Configure policy for installation of routes to RIB";2388            "Configure policy for installation of routes to RIB";
2284        }2389        }
2285        container retain {2390        container retain {
2286          description2391          description
2287            "Accept/Retain specified bgp parameters";2392            "Accept/Retain specified bgp parameters";
2288          leaf local-label {2393          leaf local-label {
2289            when "../../af-name = 'ipv4-unicast' or ../../af-name = 'vpnv4-unicast' or ../../af-name = 'vpnv4-multicast' or ../../af-name = 'vpnv6-unicast' or ../../af-name = 'vpnv6-multicast' or ../../af-name = 'ipv6-unicast'";2394            when "../../af-name = 'ipv4-unicast' or ../../af-name = 'vpnv4-unicast' or ../../af-name = 'vpnv4-multicast' or ../../af-name = 'vpnv6-unicast' or ../../af-name = 'vpnv6-multicast' or ../../af-name = 'ipv6-unicast'";
2290            type uint32 {2395            type uint32 {
2291              range "3..60" {2396              range "3..60" {
2292                description2397                description
2293                  "Label retention time in minutes";2398                  "Label retention time in minutes";
2294              }2399              }
2295            }2400            }
2296            description2401            description
2297              "Delay the release of the local label as configured";2402              "Delay the release of the local label as configured";
2298          }2403          }
2299          container route-target {2404          container route-target {
2300            when "../../af-name = 'vpnv4-unicast' or ../../af-name = 'vpnv4-multicast' or ../../af-name = 'vpnv4-flowspec' or ../../af-name = 'vpnv6-unicast' or ../../af-name = 'vpnv6-multicast' or ../../af-name = 'vpnv6-flowspec' or ../../af-name = 'l2vpn-evpn' or ../../af-name = 'l2vpn-vpls-vpws' or ../../af-name = 'ipv4-mvpn' or ../../af-name = 'ipv6-mvpn'";2405            when "../../af-name = 'vpnv4-unicast' or ../../af-name = 'vpnv4-multicast' or ../../af-name = 'vpnv4-flowspec' or ../../af-name = 'vpnv6-unicast' or ../../af-name = 'vpnv6-multicast' or ../../af-name = 'vpnv6-flowspec' or ../../af-name = 'l2vpn-evpn' or ../../af-name = 'l2vpn-vpls-vpws' or ../../af-name = 'ipv4-mvpn' or ../../af-name = 'ipv6-mvpn'";
2301            description2406            description
2302              "Accept received updates with the specified route targets";2407              "Accept received updates with the specified route targets";
2303            container all {2408            container all {
2304              must "not(../route-policy)";2409              must "not(../route-policy)";
2305              presence "Indicates a all node is configured.";2410              presence "Indicates a all node is configured.";
2306              description2411              description
2307                "Accept received updates containing at least one route target";2412                "Accept received updates containing at least one route target";
2308            }2413            }
2309            leaf route-policy {2414            leaf route-policy {
2310              type xr:Route-policy-name;2415              type xr:Route-policy-name;
2311              must "not(../all)";2416              must "not(../all)";
2312              description2417              description
2313                "Accept received updates accepted by the specified policy";2418                "Accept received updates accepted by the specified policy";
2314            }2419            }
2315          }2420          }
2316        }2421        }
2317        container allocate-label {2422        container allocate-label {
2318          description2423          description
2319            "Allocate label for selected prefixes";2424            "Allocate label for selected prefixes";
2320          container all {2425          container all {
2321            presence "Indicates a all node is configured.";2426            presence "Indicates a all node is configured.";
2322            description2427            description
2323              "Allocate labels for all prefixes";2428              "Allocate labels for all prefixes";
2324            container unlabeled-path {2429            container unlabeled-path {
2325              presence "Indicates a unlabeled-path node is configured.";2430              presence "Indicates a unlabeled-path node is configured.";
2326              description2431              description
2327                "Allocate label for unlabeled paths too";2432                "Allocate label for unlabeled paths too";
2328            }2433            }
2329          }2434          }
2330          leaf route-policy {2435          leaf route-policy {
2331            type xr:Route-policy-name;2436            type xr:Route-policy-name;
2332            description2437            description
2333              "Use a route policy to select prefixes for label allocation";2438              "Use a route policy to select prefixes for label allocation";
2334          }2439          }
2335        }2440        }
2336        container label {2441        container label {
2337          description2442          description
2338            "Label-related configuration";2443            "Label-related configuration";
2339          container mode {2444          container mode {
2340            description2445            description
2341              "Select label mode";2446              "Select label mode";
2342            container per-ce {2447            container per-ce {
2343              when "../../../af-name = 'ipv4-unicast' or ../../../af-name = 'ipv6-unicast'";2448              when "../../../af-name = 'ipv4-unicast' or ../../../af-name = 'ipv6-unicast'";
2344              must "not(../per-vrf or ../route-policy or ../per-vrf-46)";2449              must "not(../per-vrf or ../route-policy or ../per-vrf-46)";
2345              presence "Indicates a per-ce node is configured.";2450              presence "Indicates a per-ce node is configured.";
2346              description2451              description
2347                "Set per CE label mode";2452                "Set per CE label mode";
2348            }2453            }
2349            container per-vrf {2454            container per-vrf {
2350              when "../../../af-name = 'ipv4-unicast' or ../../../af-name = 'ipv6-unicast'";2455              when "../../../af-name = 'ipv4-unicast' or ../../../af-name = 'ipv6-unicast'";
2351              must "not(../per-ce or ../route-policy or ../per-vrf-46)";2456              must "not(../per-ce or ../route-policy or ../per-vrf-46)";
2352              presence "Indicates a per-vrf node is configured.";2457              presence "Indicates a per-vrf node is configured.";
2353              description2458              description
2354                "Set per VRF label mode";2459                "Set per VRF label mode";
2355            }2460            }
2356            container per-vrf-46 {2461            container per-vrf-46 {
2357              when "../../../af-name = 'ipv4-unicast' or ../../../af-name = 'ipv6-unicast'";2462              when "../../../af-name = 'ipv4-unicast' or ../../../af-name = 'ipv6-unicast'";
2358              must "not(../per-ce or ../route-policy or ../per-vrf)";2463              must "not(../per-ce or ../route-policy or ../per-vrf)";
2359              presence "Indicates a per-vrf-46 node is configured.";2464              presence "Indicates a per-vrf-46 node is configured.";
2360              description2465              description
2361                "Set per VRF IPv4/IPv6 label mode";2466                "Set per VRF IPv4/IPv6 label mode";
2362            }2467            }
2363            leaf route-policy {2468            leaf route-policy {
2364              when "../../../af-name = 'ipv4-unicast' or ../../../af-name = 'ipv6-unicast'";2469              when "../../../af-name = 'ipv4-unicast' or ../../../af-name = 'ipv6-unicast'";
2365              type xr:Route-policy-name;2470              type xr:Route-policy-name;
2366              must "not(../per-ce or ../per-vrf or ../per-vrf-46)";2471              must "not(../per-ce or ../per-vrf or ../per-vrf-46)";
2367              description2472              description
2368                "Use a route policy to select prefixes for label allocation mode";2473                "Use a route policy to select prefixes for label allocation mode";
2369            }2474            }
2370            container per-nexthop-received-label {2475            container per-nexthop-received-label {
2371              when "../../../af-name = 'vpnv4-unicast' or ../../../af-name = 'vpnv6-unicast'";2476              when "../../../af-name = 'vpnv4-unicast' or ../../../af-name = 'vpnv6-unicast'";
2372              presence "Indicates a per-nexthop-received-label node is configured.";2477              presence "Indicates a per-nexthop-received-label node is configured.";
2373              description2478              description
2374                "Set label mode per nexthop and received label";2479                "Set label mode per nexthop and received label";
2375              container allocate-secondary-label {2480              container allocate-secondary-label {
2376                presence "Indicates a allocate-secondary-label node is configured.";2481                presence "Indicates a allocate-secondary-label node is configured.";
2377                description2482                description
2378                  "Allocate secondary label to avoid label oscillation insymmetric PIC deployments";2483                  "Allocate secondary label to avoid label oscillation insymmetric PIC deployments";
2379              }2484              }
2380            }2485            }
2381          }2486          }
2382        }2487        }
2383        leaf table-version {2488        leaf table-version {
2384          type xr:Cisco-ios-xr-string {2489          type xr:Cisco-ios-xr-string {
2385            length "1..800" {2490            length "1..800" {
2386              description2491              description
2387                "Version number to be set (0 - 4611686018427387903)";2492                "Version number to be set (0 - 4611686018427387903)";
2388            }2493            }
2389          }2494          }
2390          description2495          description
2391            "Set BGP table version";2496            "Set BGP table version";
2392        }2497        }
2393        container rnh {2498        container rnh {
2394          description2499          description
2395            "Remote nexthop";2500            "Remote nexthop";
2396          container install {2501          container install {
2397            description2502            description
2398              "Install remote nexthop";2503              "Install remote nexthop";
2399            container extcomm {2504            container extcomm {
2400              presence "Indicates a extcomm node is configured.";2505              presence "Indicates a extcomm node is configured.";
2401              description2506              description
2402                "Install remote nexthop in extended community and opaque format";2507                "Install remote nexthop in extended community and opaque format";
2403              container only {2508              container only {
2404                presence "Indicates a only node is configured.";2509                presence "Indicates a only node is configured.";
2405                description2510                description
2406                  "Install remote nexthop in extended community format only";2511                  "Install remote nexthop in extended community format only";
2407              }2512              }
2408            }2513            }
2409          }2514          }
2410        }2515        }
2411        container bgp {2516        container bgp {
2412          description2517          description
2413            "BGP Commands";2518            "BGP Commands";
2414          container client-to-client {2519          container client-to-client {
2415            description2520            description
2416              "Configure client to client route reflection";2521              "Configure client to client route reflection";
2417            container reflection {2522            container reflection {
2418              description2523              description
2419                "Reflection";2524                "Reflection";
2420              container disable {2525              container disable {
2421                presence "Indicates a disable node is configured.";2526                presence "Indicates a disable node is configured.";
2422                description2527                description
2423                  "Disable";2528                  "Disable";
2424              }2529              }
2425              container cluster-id {2530              container cluster-id {
2426                description2531                description
2427                  "ID of Cluster for which reflection is to be disabled";2532                  "ID of Cluster for which reflection is to be disabled";
2428                container cluster-id-32bits {2533                container cluster-id-32bits {
2429                  description2534                  description
2430                    "Route-Reflector Cluster-id as 32 bit quantity";2535                    "Route-Reflector Cluster-id as 32 bit quantity";
2431                  list cluster-id-32bit {2536                  list cluster-id-32bit {
2432                    key "cluster-id";2537                    key "cluster-id";
2433                    description2538                    description
2434                      "Route-Reflector Cluster-id as 32 bit quantity";2539                      "Route-Reflector Cluster-id as 32 bit quantity";
2435                    leaf cluster-id {2540                    leaf cluster-id {
2436                      type uint32 {2541                      type uint32 {
2437                        range "1..4294967295" {2542                        range "1..4294967295" {
2438                          description2543                          description
2439                            "Route-Reflector Cluster-id as 32 bit quantity";2544                            "Route-Reflector Cluster-id as 32 bit quantity";
2440                        }2545                        }
2441                      }2546                      }
2442                      description2547                      description
2443                        "Route-Reflector Cluster-id as 32 bit quantity";2548                        "Route-Reflector Cluster-id as 32 bit quantity";
2444                    }2549                    }
2445                    container disable {2550                    container disable {
2446                      presence "Indicates a disable node is configured.";2551                      presence "Indicates a disable node is configured.";
2447                      description2552                      description
2448                        "Disable";2553                        "Disable";
2449                    }2554                    }
2450                  }2555                  }
2451                }2556                }
2452                container cluster-id-ip-addresses {2557                container cluster-id-ip-addresses {
2453                  description2558                  description
2454                    "Route-Reflector Cluster-id in IP address format";2559                    "Route-Reflector Cluster-id in IP address format";
2455                  list cluster-id-ip-address {2560                  list cluster-id-ip-address {
2456                    key "ip-address";2561                    key "ip-address";
2457                    description2562                    description
2458                      "Route-Reflector Cluster-id in IP address format";2563                      "Route-Reflector Cluster-id in IP address format";
2459                    leaf ip-address {2564                    leaf ip-address {
2460                      type inet:ipv4-address-no-zone;2565                      type inet:ipv4-address-no-zone;
2461                      description2566                      description
2462                        "Route-Reflector Cluster-id in IP address format";2567                        "Route-Reflector Cluster-id in IP address format";
2463                    }2568                    }
2464                    container disable {2569                    container disable {
2465                      presence "Indicates a disable node is configured.";2570                      presence "Indicates a disable node is configured.";
2466                      description2571                      description
2467                        "Disable";2572                        "Disable";
2468                    }2573                    }
2469                  }2574                  }
2470                }2575                }
2471              }2576              }
2472            }2577            }
2473          }2578          }
2474          container dampening {2579          container dampening {
2475            presence "Indicates a dampening node is configured.";2580            presence "Indicates a dampening node is configured.";
2476            description2581            description
2477              "Enable route-flap dampening";2582              "Enable route-flap dampening";
2478            leaf half-life-time {2583            leaf half-life-time {
2479              type uint32 {2584              type uint32 {
2480                range "1..45" {2585                range "1..45" {
2481                  description2586                  description
2482                    "Half-life time for the penalty";2587                    "Half-life time for the penalty";
2483                }2588                }
2484              }2589              }
2485              must "not(../route-policy)";2590              must "not(../route-policy)";
2486              description2591              description
2487                "Half-life time for the penalty";2592                "Half-life time for the penalty";
2488            }2593            }
2489            leaf start-reusing-route {2594            leaf start-reusing-route {
2490              type uint32 {2595              type uint32 {
2491                range "1..20000" {2596                range "1..20000" {
2492                  description2597                  description
2493                    "Value to start reusing a route";2598                    "Value to start reusing a route";
2494                }2599                }
2495              }2600              }
2496              must "../half-life-time and ../start-suppressing-route";2601              must "../half-life-time and ../start-suppressing-route";
2497              description2602              description
2498                "Value to start reusing a route";2603                "Value to start reusing a route";
2499            }2604            }
2500            leaf start-suppressing-route {2605            leaf start-suppressing-route {
2501              type uint32 {2606              type uint32 {
2502                range "1..20000" {2607                range "1..20000" {
2503                  description2608                  description
2504                    "Value to start suppressing a route";2609                    "Value to start suppressing a route";
2505                }2610                }
2506              }2611              }
2507              must "../start-reusing-route and ../maximum-duration";2612              must "../start-reusing-route and ../maximum-duration";
2508              description2613              description
2509                "Value to start suppressing a route";2614                "Value to start suppressing a route";
2510            }2615            }
2511            leaf maximum-duration {2616            leaf maximum-duration {
2512              type uint32 {2617              type uint32 {
2513                range "1..255" {2618                range "1..255" {
2514                  description2619                  description
2515                    "Maximum duration to suppress a stable route";2620                    "Maximum duration to suppress a stable route";
2516                }2621                }
2517              }2622              }
2518              must "../start-suppressing-route";2623              must "../start-suppressing-route";
2519              description2624              description
2520                "Maximum duration to suppress a stable route";2625                "Maximum duration to suppress a stable route";
2521            }2626            }
2522            leaf route-policy {2627            leaf route-policy {
2523              type xr:Route-policy-name;2628              type xr:Route-policy-name;
2524              must "not(../half-life-time)";2629              must "not(../half-life-time)";
2525              description2630              description
2526                "Route policy to specify criteria for dampening";2631                "Route policy to specify criteria for dampening";
2527            }2632            }
2528          }2633          }
2529          container attribute-download {2634          container attribute-download {
2530            presence "Indicates a attribute-download node is configured.";2635            presence "Indicates a attribute-download node is configured.";
2531            description2636            description
2532              "Configure attribute download for this address-family";2637              "Configure attribute download for this address-family";
2533          }2638          }
2534          container implicit-import {2639          container implicit-import {
2535            presence "Indicates a implicit-import node is configured.";2640            presence "Indicates a implicit-import node is configured.";
2536            description2641            description
2537              "Configure implicit import for this address-family";2642              "Configure implicit import for this address-family";
2538          }2643          }
2539          container import-delay {2644          container import-delay {
2540            presence "Indicates a import-delay node is configured.";2645            presence "Indicates a import-delay node is configured.";
2541            description2646            description
2542              "Specify delay for batching import processing";2647              "Specify delay for batching import processing";
2543            leaf delay-seconds {2648            leaf delay-seconds {
2544              type uint32 {2649              type uint32 {
2545                range "0..10" {2650                range "0..10" {
2546                  description2651                  description
2547                    "Delay, seconds part";2652                    "Delay, seconds part";
2548                }2653                }
2549              }2654              }
2550              mandatory true;2655              mandatory true;
2551              description2656              description
2552                "Specify delay for batching import processing";2657                "Specify delay for batching import processing";
2553            }2658            }
2554            leaf delay-milliseconds {2659            leaf delay-milliseconds {
2555              type uint32 {2660              type uint32 {
2556                range "0..999" {2661                range "0..999" {
2557                  description2662                  description
2558                    "Delay, milliseconds part";2663                    "Delay, milliseconds part";
2559                }2664                }
2560              }2665              }
2561              mandatory true;2666              mandatory true;
2562              description2667              description
2563                "Delay, milliseconds part";2668                "Delay, milliseconds part";
2564            }2669            }
2565          }2670          }
2566          container label-delay {2671          container label-delay {
2567            presence "Indicates a label-delay node is configured.";2672            presence "Indicates a label-delay node is configured.";
2568            description2673            description
2569              "Specify delay for batching label processing";2674              "Specify delay for batching label processing";
2570            leaf delay-seconds {2675            leaf delay-seconds {
2571              type uint32 {2676              type uint32 {
2572                range "0..10" {2677                range "0..10" {
2573                  description2678                  description
2574                    "Delay, seconds part";2679                    "Delay, seconds part";
2575                }2680                }
2576              }2681              }
2577              mandatory true;2682              mandatory true;
2578              description2683              description
2579                "Specify delay for batching label processing";2684                "Specify delay for batching label processing";
2580            }2685            }
2581            leaf delay-milliseconds {2686            leaf delay-milliseconds {
2582              type uint32 {2687              type uint32 {
2583                range "0..999" {2688                range "0..999" {
2584                  description2689                  description
2585                    "Delay, milliseconds part";2690                    "Delay, milliseconds part";
2586                }2691                }
2587              }2692              }
2588              mandatory true;2693              mandatory true;
2589              description2694              description
2590                "Delay, milliseconds part";2695                "Delay, milliseconds part";
2591            }2696            }
2592          }2697          }
2593          leaf scan-time {2698          leaf scan-time {
2594            type uint32 {2699            type uint32 {
2595              range "5..3600" {2700              range "5..3600" {
2596                description2701                description
2597                  "Scanner interval (seconds)";2702                  "Scanner interval (seconds)";
2598              }2703              }
2599            }2704            }
2600            description2705            description
2601              "Configure background scanner interval for this address-family";2706              "Configure background scanner interval for this address-family";
2602          }2707          }
2603          container origin-as {2708          container origin-as {
2604            description2709            description
2605              "BGP origin-AS knobs";2710              "BGP origin-AS knobs";
2606            container validation {2711            container validation {
2607              description2712              description
2608                "BGP origin-AS validation knobs";2713                "BGP origin-AS validation knobs";
2609              container disable {2714              container disable {
2610                presence "Indicates a disable node is configured.";2715                presence "Indicates a disable node is configured.";
2611                description2716                description
2612                  "Disable RPKI origin-AS validation";2717                  "Disable RPKI origin-AS validation";
2613              }2718              }
2614              container enable {2719              container enable {
2615                presence "Indicates a enable node is configured.";2720                presence "Indicates a enable node is configured.";
2616                description2721                description
2617                  "Enable RPKI origin-AS validation";2722                  "Enable RPKI origin-AS validation";
2618              }2723              }
2619              container signal {2724              container signal {
2620                description2725                description
2621                  "Signal origin-AS validity towards peers";2726                  "Signal origin-AS validity towards peers";
2622                container ibgp {2727                container ibgp {
2623                  presence "Indicates a ibgp node is configured.";2728                  presence "Indicates a ibgp node is configured.";
2624                  description2729                  description
2625                    "Signal origin-AS validity towards iBGP peers";2730                    "Signal origin-AS validity towards iBGP peers";
2626                }2731                }
2627              }2732              }
2628            }2733            }
2629          }2734          }
2630          container bestpath {2735          container bestpath {
2631            description2736            description
2632              "Change default route selection criteria";2737              "Change default route selection criteria";
2633            container origin-as {2738            container origin-as {
2634              description2739              description
2635                "BGP origin-AS knobs";2740                "BGP origin-AS knobs";
2636              container use {2741              container use {
2637                description2742                description
2638                  "BGP origin-AS knobs";2743                  "BGP origin-AS knobs";
2639                container validity {2744                container validity {
2640                  presence "Indicates a validity node is configured.";2745                  presence "Indicates a validity node is configured.";
2641                  description2746                  description
2642                    "BGP bestpath selection will use origin-AS validity";2747                    "BGP bestpath selection will use origin-AS validity";
2643                }2748                }
2644              }2749              }
2645              container allow {2750              container allow {
2646                description2751                description
2647                  "BGP origin-AS knobs";2752                  "BGP origin-AS knobs";
2648                container invalid {2753                container invalid {
2649                  presence "Indicates a invalid node is configured.";2754                  presence "Indicates a invalid node is configured.";
2650                  description2755                  description
2651                    "BGP bestpath selection will allow 'invalid' origin-AS";2756                    "BGP bestpath selection will allow 'invalid' origin-AS";
2652                }2757                }
2653              }2758              }
2654            }2759            }
2655          }2760          }
2656        }2761        }
2657        container event {2762        container event {
2658          description2763          description
2659            "Policy for per-prefix tracing";2764            "Policy for per-prefix tracing";
2660          container prefix {2765          container prefix {
2661            description2766            description
2662              "Policy for per-prefix tracing";2767              "Policy for per-prefix tracing";
2663            leaf route-policy {2768            leaf route-policy {
2664              type xr:Route-policy-name;2769              type xr:Route-policy-name;
2665              description2770              description
2666                "Policy for per-prefix tracing";2771                "Policy for per-prefix tracing";
2667            }2772            }
2668          }2773          }
2669        }2774        }
2670        container dynamic-med {2775        container dynamic-med {
2671          description2776          description
2672            "Dynamic MED Interval";2777            "Dynamic MED Interval";
2673          leaf interval {2778          leaf interval {
2674            type uint32 {2779            type uint32 {
2675              range "0..10" {2780              range "0..10" {
2676                description2781                description
2677                  "Update generation delay in minutes";2782                  "Update generation delay in minutes";
2678              }2783              }
2679            }2784            }
2680            description2785            description
2681              "Update generation delay (in minutes) after a MED change";2786              "Update generation delay (in minutes) after a MED change";
2682          }2787          }
2683        }2788        }
2684        container weight {2789        container weight {
2685          description2790          description
2686            "Define or modify weight";2791            "Define or modify weight";
2687          container reset-on-import {2792          container reset-on-import {
2688            presence "Indicates a reset-on-import node is configured.";2793            presence "Indicates a reset-on-import node is configured.";
2689            description2794            description
2690              "Reset weight of paths on import";2795              "Reset weight of paths on import";
2691            container disable {2796            container disable {
2692              presence "Indicates a disable node is configured.";2797              presence "Indicates a disable node is configured.";
2693              description2798              description
2694                "Do not reset weight of paths on import";2799                "Do not reset weight of paths on import";
2695            }2800            }
2696          }2801          }
2697        }2802        }
2698        container update {2803        container update {
2699          description2804          description
2700            "BGP Update generation configuration";2805            "BGP Update generation configuration";
2701          container limit {2806          container limit {
2702            description2807            description
2703              "Upper bound on transient memory usage for update generation";2808              "Upper bound on transient memory usage for update generation";
2704            leaf address-family {2809            leaf address-family {
2705              type uint32 {2810              type uint32 {
2706                range "4..2048" {2811                range "4..2048" {
2707                  description2812                  description
2708                    "Update limit in MegaBytes(MB); default is 256 MB";2813                    "Update limit in MegaBytes(MB); default is 256 MB";
2709                }2814                }
2710              }2815              }
2711              description2816              description
2712                "Update limit for address-family";2817                "Update limit for address-family";
2713            }2818            }
2714            container sub-group {2819            container sub-group {
2715              description2820              description
2716                "Update limit for sub-groups";2821                "Update limit for sub-groups";
2717              leaf ebgp {2822              leaf ebgp {
2718                type uint32 {2823                type uint32 {
2719                  range "1..512" {2824                  range "1..512" {
2720                    description2825                    description
2721                      "Update limit in MegaBytes(MB); default is 32 MB";2826                      "Update limit in MegaBytes(MB); default is 32 MB";
2722                  }2827                  }
2723                }2828                }
2724                description2829                description
2725                  "Update limit for eBGP sub-groups";2830                  "Update limit for eBGP sub-groups";
2726              }2831              }
2727              leaf ibgp {2832              leaf ibgp {
2728                type uint32 {2833                type uint32 {
2729                  range "1..512" {2834                  range "1..512" {
2730                    description2835                    description
2731                      "Update limit in MegaBytes(MB); default is 32 MB";2836                      "Update limit in MegaBytes(MB); default is 32 MB";
2732                  }2837                  }
2733                }2838                }
2734                description2839                description
2735                  "Update limit for iBGP sub-groups";2840                  "Update limit for iBGP sub-groups";
2736              }2841              }
2737            }2842            }
2738          }2843          }
2739          container wait-install {2844          container wait-install {
2740            presence "Indicates a wait-install node is configured.";2845            presence "Indicates a wait-install node is configured.";
2741            description2846            description
2742              "Wait for route install";2847              "Wait for route install";
2743            container delay {2848            container delay {
2744              description2849              description
2745                "Configure a delay";2850                "Configure a delay";
2746              leaf startup {2851              leaf startup {
2747                type uint32 {2852                type uint32 {
2748                  range "1..600" {2853                  range "1..600" {
2749                    description2854                    description
2750                      "Delay in seconds";2855                      "Delay in seconds";
2751                  }2856                  }
2752                }2857                }
2753                description2858                description
2754                  "Configure a delay for the startup phase";2859                  "Configure a delay for the startup phase";
2755              }2860              }
2756            }2861            }
2757          }2862          }
2758        }2863        }
2759        container as-path-loopcheck {2864        container as-path-loopcheck {
2760          description2865          description
2761            "Configure AS Path loop checking";2866            "Configure AS Path loop checking";
2762          container out {2867          container out {
2763            description2868            description
2764              "For outbound updates";2869              "For outbound updates";
2765            container disable {2870            container disable {
2766              presence "Indicates a disable node is configured.";2871              presence "Indicates a disable node is configured.";
2767              description2872              description
2768                "Disable";2873                "Disable";
2769            }2874            }
2770          }2875          }
2771        }2876        }
2772        container inter-as {2877        container inter-as {
2773          description2878          description
2774            "Inter AS";2879            "Inter AS";
2775          container install {2880          container install {
2776            presence "Indicates a install node is configured.";2881            presence "Indicates a install node is configured.";
2777            description2882            description
2778              "Install remote mvpn routes in default vrf";2883              "Install remote mvpn routes in default vrf";
2779          }2884          }
2780        }2885        }
2781        container global-table-multicast {2886        container global-table-multicast {
2782          presence "Indicates a global-table-multicast node is configured.";2887          presence "Indicates a global-table-multicast node is configured.";
2783          description2888          description
2784            "Enable global table multicast";2889            "Enable global table multicast";
2785        }2890        }
2786        container segmented-multicast {2891        container segmented-multicast {
2787          presence "Indicates a segmented-multicast node is configured.";2892          presence "Indicates a segmented-multicast node is configured.";
2788          description2893          description
2789            "Enable segmented multicast";2894            "Enable segmented multicast";
2790        }2895        }
2791        container label-security {2896        container label-security {
2792          description2897          description
2793            "BGP Label Security";2898            "BGP Label Security";
2794          container asbr {2899          container asbr {
2795            description2900            description
2796              "Label Security for ASBR peers";2901              "Label Security for ASBR peers";
2797            container rpf {2902            container rpf {
2798              presence "Indicates a rpf node is configured.";2903              presence "Indicates a rpf node is configured.";
2799              description2904              description
2800                "RPF Label Security for Option-B";2905                "RPF Label Security for Option-B";
2801            }2906            }
2802          }2907          }
2803        }2908        }
2804        container epe {2909        container epe {
2805          description2910          description
2806            "EPE related Global AFI knobs";2911            "EPE related Global AFI knobs";
2807          container backup {2912          container backup {
2808            description2913            description
2809              "Install a Backup path for the EPE labels";2914              "Install a Backup path for the EPE labels";
2810            container enable {2915            container enable {
2811              presence "Indicates a enable node is configured.";2916              presence "Indicates a enable node is configured.";
2812              description2917              description
2813                "Enable the EPE backup under current AFI";2918                "Enable the EPE backup under current AFI";
2814            }2919            }
2815          }2920          }
2816        }2921        }
2817        container default-martian-check {2922        container default-martian-check {
2818          description2923          description
2819            "Martian check default";2924            "Martian check default";
2820          container disable {2925          container disable {
2821            presence "Indicates a disable node is configured.";2926            presence "Indicates a disable node is configured.";
2822            description2927            description
2823              "Disable";2928              "Disable";
2824          }2929          }
2825        }2930        }
2826        container export {2931        container export {
2827          description2932          description
2828            "Enable allowing leak/export of non-bestpaths";2933            "Enable allowing leak/export of non-bestpaths";
2829          container to {2934          container to {
2830            description2935            description
2831              "Leak to Destination Vrf";2936              "Leak to Destination Vrf";
2832            container vrf {2937            container vrf {
2833              description2938              description
2834                "Enable leak to a destination vrf";2939                "Enable leak to a destination vrf";
2835              container allow {2940              container allow {
2836                presence "Indicates a allow node is configured.";2941                presence "Indicates a allow node is configured.";
2837                description2942                description
2838                  "Allow leak of path-type";2943                  "Allow leak of path-type";
2839                container backup {2944                container backup {
2840                  presence "Indicates a backup node is configured.";2945                  presence "Indicates a backup node is configured.";
2841                  description2946                  description
2842                    "Allow Export of backup path";2947                    "Allow Export of backup path";
2843                  container best-external {2948                  container best-external {
2844                    presence "Indicates a best-external node is configured.";2949                    presence "Indicates a best-external node is configured.";
2845                    description2950                    description
2846                      "Allow Export of best-external";2951                      "Allow Export of best-external";
2847                  }2952                  }
2848                }2953                }
2849                container best-external {2954                container best-external {
2850                  presence "Indicates a best-external node is configured.";2955                  presence "Indicates a best-external node is configured.";
2851                  description2956                  description
2852                    "Allow Export of best-external";2957                    "Allow Export of best-external";
2853                }2958                }
2854              }2959              }
2855            }2960            }
2856          }2961          }
2857        }2962        }
2858        leaf prefix-ecmp-delay {2963        leaf prefix-ecmp-delay {
2859          when "../af-name = 'ipv4-unicast' or ../af-name = 'ipv6-unicast'";2964          when "../af-name = 'ipv4-unicast' or ../af-name = 'ipv6-unicast'";
2860          type uint32 {2965          type uint32 {
2861            range "10..60000" {2966            range "10..60000" {
2862              description2967              description
2863                "Interval(ms)";2968                "Interval(ms)";
2864            }2969            }
2865          }2970          }
2866          description2971          description
2867            "Enable delay in best path calculation and downloading prefixes to rib (ms)";2972            "Enable delay in best path calculation and downloading prefixes to rib (ms)";
2868        }2973        }
2869        leaf oor-threshold {2974        leaf oor-threshold {
2870          type uint32 {2975          type uint32 {
2871            range "10..90" {2976            range "10..90" {
2872              description2977              description
2873                "Out-Of-Resource threshold (in percentage)";2978                "Out-Of-Resource threshold (in percentage)";
2874            }2979            }
2875          }2980          }
2876          must "../prefix-ecmp-delay";2981          must "../prefix-ecmp-delay";
2877          description2982          description
2878            "Delay only when platform resource usage is above threshold";2983            "Delay only when platform resource usage is above threshold";
2879        }2984        }
2880        container peer-set-ids {2985        container peer-set-ids {
2881          when "../af-name = 'ipv4-unicast' or ../af-name = 'ipv6-unicast'";2986          when "../af-name = 'ipv4-unicast' or ../af-name = 'ipv6-unicast'";
2882          description2987          description
2883            "configuration for a single EPE Peer Set";2988            "configuration for a single EPE Peer Set";
2884          list peer-set-id {2989          list peer-set-id {
2885            key "peer-set-id";2990            key "peer-set-id";
2886            description2991            description
2887              "configuration for a single EPE Peer Set";2992              "configuration for a single EPE Peer Set";
2888            leaf peer-set-id {2993            leaf peer-set-id {
2889              type uint32 {2994              type uint32 {
2890                range "1..255" {2995                range "1..255" {
2891                  description2996                  description
2892                    "Identifier for Each Peer-set SID we are going to create";2997                    "Identifier for Each Peer-set SID we are going to create";
2893                }2998                }
2894              }2999              }
2895              description3000              description
2896                "configuration for a single EPE Peer Set";3001                "configuration for a single EPE Peer Set";
2897            }3002            }
2898            container peer-set-sid {3003            container peer-set-sid {
2899              description3004              description
2900                "configure a SID for peer-set EPE object";3005                "configure a SID for peer-set EPE object";
2901              leaf index {3006              leaf index {
2902                type uint32 {3007                type uint32 {
2903                  range "0..1033575" {3008                  range "0..1033575" {
2904                    description3009                    description
2905                      "Segment Index to be assigned to this peer-set. The index will be off SRLB3010                      "Segment Index to be assigned to this peer-set. The index will be off SRLB
2906                       Note: The maximum index configurable in dynaminc SRLB range.3011                       Note: The maximum index configurable in dynaminc SRLB range.
2907                       Since SRe a dynamic range, actual maximum index can vary.3012                       Since SRe a dynamic range, actual maximum index can vary.
2908                       So pleast the currently configured SRLB range";3013                       So pleast the currently configured SRLB range";
2909                  }3014                  }
2910                }3015                }
2911                description3016                description
2912                  "Segment Index value to assign. This will be off SRLB range";3017                  "Segment Index value to assign. This will be off SRLB range";
2913              }3018              }
2914            }3019            }
2915          }3020          }
2916        }3021        }
2917        container segment-routing {3022        container segment-routing {
2918          when "../af-name = 'ipv4-unicast' or ../af-name = 'ipv6-unicast'";3023          when "../af-name = 'ipv4-unicast' or ../af-name = 'ipv6-unicast'";
2919          description3024          description
2920            "Segment Routing";3025            "Segment Routing";
2921          container prefix-sid-map {3026          container prefix-sid-map {
2922            when "../../af-name = 'ipv4-unicast'";3027            when "../../af-name = 'ipv4-unicast'";
2923            presence "Indicates a prefix-sid-map node is configured.";3028            presence "Indicates a prefix-sid-map node is configured.";
2924            description3029            description
2925              "Retrieve prefix id mapping from SRMS";3030              "Retrieve prefix id mapping from SRMS";
2926          }3031          }
2927          container srv6 {3032          container srv6 {
2928            presence "Indicates a srv6 node is configured.";3033            presence "Indicates a srv6 node is configured.";
2929            description3034            description
2930              "Specify SRv6 configurations";3035              "Specify SRv6 configurations";
2931            container alloc {3036            container alloc {
2932              description3037              description
2933                "SID Allocation";3038                "SID Allocation";
2934              container mode {3039              container mode {
2935                description3040                description
2936                  "SID Allocation mode";3041                  "SID Allocation mode";
2937                container per-ce {3042                container per-ce {
2938                  must "not(../per-vrf or ../route-policy or ../per-vrf-46)";3043                  must "not(../per-vrf or ../route-policy or ../per-vrf-46)";
2939                  presence "Indicates a per-ce node is configured.";3044                  presence "Indicates a per-ce node is configured.";
2940                  description3045                  description
2941                    "Set per CE SRv6 SID  mode";3046                    "Set per CE SRv6 SID  mode";
2942                }3047                }
2943                container per-vrf {3048                container per-vrf {
2944                  must "not(../per-ce or ../route-policy or ../per-vrf-46)";3049                  must "not(../per-ce or ../route-policy or ../per-vrf-46)";
2945                  presence "Indicates a per-vrf node is configured.";3050                  presence "Indicates a per-vrf node is configured.";
2946                  description3051                  description
2947                    "Set per VRF SRv6 SID mode";3052                    "Set per VRF SRv6 SID mode";
2948                }3053                }
2949                container per-vrf-46 {3054                container per-vrf-46 {
2950                  must "not(../per-ce or ../route-policy or ../per-vrf)";3055                  must "not(../per-ce or ../route-policy or ../per-vrf)";
2951                  presence "Indicates a per-vrf-46 node is configured.";3056                  presence "Indicates a per-vrf-46 node is configured.";
2952                  description3057                  description
2953                    "Set per VRF 46 SRv6 SID mode";3058                    "Set per VRF 46 SRv6 SID mode";
2954                }3059                }
2955                leaf route-policy {3060                leaf route-policy {
2956                  type xr:Route-policy-name;3061                  type xr:Route-policy-name;
2957                  must "not(../per-ce or ../per-vrf or ../per-vrf-46)";3062                  must "not(../per-ce or ../per-vrf or ../per-vrf-46)";
2958                  description3063                  description
2959                    "Use a route policy to determine the SID allocation mode and locator (if provided) for given prefix";3064                    "Use a route policy to determine the SID allocation mode and locator (if provided) for given prefix";
2960                }3065                }
2961              }3066              }
2962            }3067            }
2963            leaf locator {3068            leaf locator {
2964              type xr:Cisco-ios-xr-string {3069              type xr:Cisco-ios-xr-string {
2965                length "1..1024" {3070                length "1..1024" {
2966                  description3071                  description
2967                    "locator name";3072                    "locator name";
2968                }3073                }
2969              }3074              }
2970              description3075              description
2971                "Specify locator";3076                "Specify locator";
2972            }3077            }
2973            container usid {3078            container usid {
2974              description3079              description
2975                "Micro-SID configuration";3080                "Micro-SID configuration";
2976              container allocation {3081              container allocation {
2977                description3082                description
2978                  "Allocation mode";3083                  "Allocation mode";
2979                container wide-local-id-block {3084                container wide-local-id-block {
2980                  presence "Indicates a wide-local-id-block node is configured.";3085                  presence "Indicates a wide-local-id-block node is configured.";
2981                  description3086                  description
2982                    "Wide LIB allocation";3087                    "Wide LIB allocation";
2983                }3088                }
2984              }3089              }
2985            }3090            }
2986          }3091          }
2987        }3092        }
2988        container option-b-asbr-only {3093        container option-b-asbr-only {
2989          when "../af-name = 'l2vpn-evpn'";3094          when "../af-name = 'l2vpn-evpn'";
2990          presence "Indicates a prefix-sid-map node is configured.";3095          presence "Indicates a prefix-sid-map node is configured.";
2991          description3096          description
2992            "Enable the ASBR router for option-B label exchange.This option makes the router an Option B ASBR for EVPN.Its assumed no DCI configs are present";3097            "Enable the ASBR router for option-B label exchange.This option makes the router an Option B ASBR for EVPN.Its assumed no DCI configs are present";
2993        }3098        }
2994      }3099      }
2995    }3100    }
2996    container neighbors {3101    container neighbors {
2997      description3102      description
2998        "Specify a neighbor router";3103        "Specify a neighbor router";
2999      list neighbor {3104      list neighbor {
3000        key "neighbor-address";3105        key "neighbor-address";
3001        description3106        description
3002          "Neighbor address";3107          "Neighbor address";
3003        leaf neighbor-address {3108        leaf neighbor-address {
3004          type inet:ip-address-no-zone;3109          type inet:ip-address-no-zone;
3005          description3110          description
3006            "Neighbor address";3111            "Neighbor address";
3007        }3112        }
3008        container address-families {3113        container address-families {
3009          description3114          description
3010            "Enter Address Family command mode";3115            "Enter Address Family command mode";
3011          list address-family {3116          list address-family {
3012            key "af-name";3117            key "af-name";
3013            description3118            description
3014              "Enter Address Family command mode";3119              "Enter Address Family command mode";
3015            leaf af-name {3120            leaf af-name {
3016              type Bgp-address-family;3121              type Bgp-address-family;
3017              description3122              description
3018                "Enter Address Family command mode";3123                "Enter Address Family command mode";
3019            }3124            }
3020            container use {3125            container use {
3021              description3126              description
3022                "Inherit configuration for this address-family from a group";3127                "Inherit configuration for this address-family from a group";
3023              leaf af-group {3128              leaf af-group {
3024                type string {3129                type string {
3025                  length "1..1024" {3130                  length "1..1024" {
3026                    description3131                    description
3027                      "AF group name";3132                      "AF group name";
3028                  }3133                  }
3029                }3134                }
3030                description3135                description
3031                  "Inherit configuration for this address-family from an af-group";3136                  "Inherit configuration for this address-family from an af-group";
3032              }3137              }
3033            }3138            }
3034            container capability {3139            container capability {
3035              description3140              description
3036                "Advertise capability to the peer";3141                "Advertise capability to the peer";
3037              container orf {3142              container orf {
3038                description3143                description
3039                  "Advertise ORF capability to the peer";3144                  "Advertise ORF capability to the peer";
3040                container prefix {3145                container prefix {
3041                  description3146                  description
3042                    "Advertise address prefix ORF capability to this neighbor";3147                    "Advertise address prefix ORF capability to this neighbor";
3043                  container receive {3148                  container receive {
3044                    must "not(../send or ../both or ../none)";3149                    must "not(../send or ../both or ../none)";
3045                    presence "Indicates a receive node is configured.";3150                    presence "Indicates a receive node is configured.";
3046                    description3151                    description
3047                      "Capability to RECEIVE the ORF from this neighbor";3152                      "Capability to RECEIVE the ORF from this neighbor";
3048                  }3153                  }
3049                  container send {3154                  container send {
3050                    must "not(../receive or ../both or ../none)";3155                    must "not(../receive or ../both or ../none)";
3051                    presence "Indicates a send node is configured.";3156                    presence "Indicates a send node is configured.";
3052                    description3157                    description
3053                      "Capability to SEND the ORF to this neighbor";3158                      "Capability to SEND the ORF to this neighbor";
3054                  }3159                  }
3055                  container both {3160                  container both {
3056                    must "not(../receive or ../send or ../none)";3161                    must "not(../receive or ../send or ../none)";
3057                    presence "Indicates a both node is configured.";3162                    presence "Indicates a both node is configured.";
3058                    description3163                    description
3059                      "Capability to RECEIVE and SEND the ORF from/to this neighbor";3164                      "Capability to RECEIVE and SEND the ORF from/to this neighbor";
3060                  }3165                  }
3061                  container none {3166                  container none {
3062                    must "not(../receive or ../send or ../both)";3167                    must "not(../receive or ../send or ../both)";
3063                    presence "Indicates a none node is configured.";3168                    presence "Indicates a none node is configured.";
3064                    description3169                    description
3065                      "No capability to RECEIVE or SEND the ORF from/to this neighbor";3170                      "No capability to RECEIVE or SEND the ORF from/to this neighbor";
3066                  }3171                  }
3067                }3172                }
3068              }3173              }
3069            }3174            }
3070            container default-originate {3175            container default-originate {
3071              presence "Indicates a default-originate node is configured.";3176              presence "Indicates a default-originate node is configured.";
3072              description3177              description
3073                "Originate default route to this neighbor";3178                "Originate default route to this neighbor";
3074              leaf route-policy {3179              leaf route-policy {
3075                type xr:Route-policy-name;3180                type xr:Route-policy-name;
3076                description3181                description
3077                  "Route policy to specify criteria to originate default";3182                  "Route policy to specify criteria to originate default";
3078              }3183              }
3079              container inheritance-disable {3184              container inheritance-disable {
3080                must "not(../route-policy)";3185                must "not(../route-policy)";
3081                presence "Indicates a inheritance-disable node is configured.";3186                presence "Indicates a inheritance-disable node is configured.";
3082                description3187                description
3083                  "Prevent default-originate being inherited from a parent group";3188                  "Prevent default-originate being inherited from a parent group";
3084              }3189              }
3085            }3190            }
3086            container maximum-prefix {3191            container maximum-prefix {
3087              presence "Indicates a maximum-prefix node is configured.";3192              presence "Indicates a maximum-prefix node is configured.";
3088              description3193              description
3089                "Maximum number of prefixes to accept from this peer";3194                "Maximum number of prefixes to accept from this peer";
3090              leaf prefix-limit {3195              leaf prefix-limit {
3091                type uint32 {3196                type uint32 {
3092                  range "1..4294967295" {3197                  range "1..4294967295" {
3093                    description3198                    description
3094                      "maximum no. of prefix limit";3199                      "maximum no. of prefix limit";
3095                  }3200                  }
3096                }3201                }
3097                mandatory true;3202                mandatory true;
3098                description3203                description
3099                  "Maximum number of prefixes to accept from this peer";3204                  "Maximum number of prefixes to accept from this peer";
3100              }3205              }
3101              leaf threshold {3206              leaf threshold {
3102                type uint32 {3207                type uint32 {
3103                  range "1..100" {3208                  range "1..100" {
3104                    description3209                    description
3105                      "Threshold value (%) at which to generate a warning msg";3210                      "Threshold value (%) at which to generate a warning msg";
3106                  }3211                  }
3107                }3212                }
3108                mandatory true;3213                mandatory true;
3109                description3214                description
3110                  "Threshold value (%) at which to generate a warning msg";3215                  "Threshold value (%) at which to generate a warning msg";
3111              }3216              }
3112              container warning-only {3217              container warning-only {
3113                presence "Indicates a warning-only node is configured.";3218                presence "Indicates a warning-only node is configured.";
3114                description3219                description
3115                  "Only give warning message when limit is exceeded";3220                  "Only give warning message when limit is exceeded";
3116              }3221              }
3117              leaf restart {3222              leaf restart {
3118                type uint32 {3223                type uint32 {
3119                  range "1..65535" {3224                  range "1..65535" {
3120                    description3225                    description
3121                      "Time interval (min) after which peering session will be reestablished";3226                      "Time interval (min) after which peering session will be reestablished";
3122                  }3227                  }
3123                }3228                }
3124                description3229                description
3125                  "Restart time interval";3230                  "Restart time interval";
3126              }3231              }
3127              container discard-extra-paths {3232              container discard-extra-paths {
3128                presence "Indicates a discard-extra-paths node is configured.";3233                presence "Indicates a discard-extra-paths node is configured.";
3129                description3234                description
3130                  "Discard extra paths when limit is exceeded";3235                  "Discard extra paths when limit is exceeded";
3131              }3236              }
3132            }3237            }
3133            leaf optimal-route-reflection {3238            leaf optimal-route-reflection {
3134              type string {3239              type string {
3135                length "1..32" {3240                length "1..32" {
3136                  description3241                  description
3137                    "ORR group name - maximum 32 characters";3242                    "ORR group name - maximum 32 characters";
3138                }3243                }
3139              }3244              }
3140              description3245              description
3141                "Configure optiomal-route-reflection for this neighbor";3246                "Configure optiomal-route-reflection for this neighbor";
3142            }3247            }
3143            container next-hop-self {3248            container next-hop-self {
3144              presence "Indicates a next-hop-self node is configured.";3249              presence "Indicates a next-hop-self node is configured.";
3145              description3250              description
3146                "Disable the next hop calculation for this neighbor";3251                "Disable the next hop calculation for this neighbor";
3147              container inheritance-disable {3252              container inheritance-disable {
3148                presence "Indicates a inheritance-disable node is configured.";3253                presence "Indicates a inheritance-disable node is configured.";
3149                description3254                description
3150                  "Prevent next-hop-self from being inherited from the parent";3255                  "Prevent next-hop-self from being inherited from the parent";
3151              }3256              }
3152            }3257            }
3153            container next-hop-unchanged {3258            container next-hop-unchanged {
3154              presence "Indicates a next-hop-unchanged node is configured.";3259              presence "Indicates a next-hop-unchanged node is configured.";
3155              description3260              description
3156                "Do not overwrite next hop before advertising to eBGP peers";3261                "Do not overwrite next hop before advertising to eBGP peers";
3157              container inheritance-disable {3262              container inheritance-disable {
3158                presence "Indicates a inheritance-disable node is configured.";3263                presence "Indicates a inheritance-disable node is configured.";
3159                description3264                description
3160                  "Prevent next-hop-unchanged from being inherited from the parent";3265                  "Prevent next-hop-unchanged from being inherited from the parent";
3161              }3266              }
3162            }3267            }
3163            container next-hop-unchanged-multipath {3268            container next-hop-unchanged-multipath {
3164              presence "Indicates a next-hop-unchanged-multipath node is configured.";3269              presence "Indicates a next-hop-unchanged-multipath node is configured.";
3165              description3270              description
3166                "Do not overwrite nexthop before advertising multipaths";3271                "Do not overwrite nexthop before advertising multipaths";
3167            }3272            }
3168            container slow-peer {3273            container slow-peer {
3169              description3274              description
3170                "Configure this neighbor as slow-peer";3275                "Configure this neighbor as slow-peer";
3171              container static {3276              container static {
3172                must "not(../dynamic)";3277                must "not(../dynamic)";
3173                presence "Indicates a static node is configured.";3278                presence "Indicates a static node is configured.";
3174                description3279                description
3175                  "Configure this neighbor as static slow-peer";3280                  "Configure this neighbor as static slow-peer";
3176              }3281              }
3177              container dynamic {3282              container dynamic {
3178                must "not(../static)";3283                must "not(../static)";
3179                presence "Indicates a dynamic node is configured.";3284                presence "Indicates a dynamic node is configured.";
3180                description3285                description
3181                  "Configure this neighbor as dynamic slow-peer";3286                  "Configure this neighbor as dynamic slow-peer";
3182                leaf threshold {3287                leaf threshold {
3183                  type uint16 {3288                  type uint16 {
3184                    range "120..3600" {3289                    range "120..3600" {
3185                      description3290                      description
3186                        "Threshold (in seconds) to detect this neighbor as slow-peer";3291                        "Threshold (in seconds) to detect this neighbor as slow-peer";
3187                    }3292                    }
3188                  }3293                  }
3189                  description3294                  description
3190                    "Threshold (in seconds) to detect this neighbor as slow-peer";3295                    "Threshold (in seconds) to detect this neighbor as slow-peer";
3191                }3296                }
3192                container disable {3297                container disable {
3193                  presence "Indicates a disable node is configured.";3298                  presence "Indicates a disable node is configured.";
3194                  description3299                  description
3195                    "Disable dynamic slow-peer";3300                    "Disable dynamic slow-peer";
3196                }3301                }
3197              }3302              }
3198            }3303            }
3199            container origin-as {3304            container origin-as {
3200              description3305              description
3201                "BGP origin-AS knobs";3306                "BGP origin-AS knobs";
3202              container validation {3307              container validation {
3203                description3308                description
3204                  "BGP origin-AS validation knobs";3309                  "BGP origin-AS validation knobs";
3205                container disable {3310                container disable {
3206                  presence "Indicates a disable node is configured.";3311                  presence "Indicates a disable node is configured.";
3207                  description3312                  description
3208                    "Disable RPKI origin-AS validation";3313                    "Disable RPKI origin-AS validation";
3209                }3314                }
3210              }3315              }
3211            }3316            }
3212            container bestpath {3317            container bestpath {
3213              description3318              description
3214                "Change default route selection criteria";3319                "Change default route selection criteria";
3215              container origin-as {3320              container origin-as {
3216                description3321                description
3217                  "BGP origin-AS knobs";3322                  "BGP origin-AS knobs";
3218                container allow {3323                container allow {
3219                  description3324                  description
3220                    "BGP origin-AS knobs";3325                    "BGP origin-AS knobs";
3221                  container invalid {3326                  container invalid {
3222                    presence "Indicates a invalid node is configured.";3327                    presence "Indicates a invalid node is configured.";
3223                    description3328                    description
3224                      "BGP bestpath selection will allow 'invalid' origin-AS";3329                      "BGP bestpath selection will allow 'invalid' origin-AS";
3225                  }3330                  }
3226                }3331                }
3227              }3332              }
3228            }3333            }
3229            container route-policy {3334            container route-policy {
3230              description3335              description
3231                "Apply route policy";3336                "Apply route policy";
3232              leaf in {3337              leaf in {
3233                type xr:Route-policy-name;3338                type xr:Route-policy-name;
3234                description3339                description
3235                  "Apply route policy to inbound routes";3340                  "Apply route policy to inbound routes";
3236              }3341              }
3237              leaf out {3342              leaf out {
3238                type xr:Route-policy-name;3343                type xr:Route-policy-name;
3239                description3344                description
3240                  "Apply route policy to outbound routes";3345                  "Apply route policy to outbound routes";
3241              }3346              }
3242              container retention {3347              container retention {
3243                description3348                description
3244                  "Apply retention policy to inbound routes";3349                  "Apply retention policy to inbound routes";
3245                leaf route-policy-name {3350                leaf route-policy-name {
3246                  type xr:Route-policy-name;3351                  type xr:Route-policy-name;
3247                  must "../retention-time";3352                  must "../retention-time";
3248                  description3353                  description
3249                    "Apply retention policy to inbound routes";3354                    "Apply retention policy to inbound routes";
3250                }3355                }
3251                leaf retention-time {3356                leaf retention-time {
3252                  type uint32 {3357                  type uint32 {
3253                    range "0..4294967295" {3358                    range "0..4294967295" {
3254                      description3359                      description
3255                        "Max time (seconds)";3360                        "Max time (seconds)";
3256                    }3361                    }
3257                  }3362                  }
3258                  must "../route-policy-name";3363                  must "../route-policy-name";
3259                  description3364                  description
3260                    "Retention-time for this neighbor";3365                    "Retention-time for this neighbor";
3261                }3366                }
3262              }3367              }
3263            }3368            }
3264            container orf {3369            container orf {
3265              description3370              description
3266                "Specify ORF and inbound filtering criteria";3371                "Specify ORF and inbound filtering criteria";
3267              leaf route-policy {3372              leaf route-policy {
3268                type xr:Route-policy-name;3373                type xr:Route-policy-name;
3269                description3374                description
3270                  "Route policy to specify ORF and inbound filter";3375                  "Route policy to specify ORF and inbound filter";
3271              }3376              }
3272            }3377            }
3273            container replace-private-as {3378            container replace-private-as {
3274              presence "Indicates a replace-private-as node is configured.";3379              presence "Indicates a replace-private-as node is configured.";
3275              description3380              description
3276                "Replace private AS number from outbound updates";3381                "Replace private AS number from outbound updates";
3277              container internal {3382              container internal {
3278                description3383                description
3279                  "remove only if all ASes in the path are private";3384                  "remove only if all ASes in the path are private";
3280              }3385              }
3281            }3386            }
3282            container remove-private-as {3387            container remove-private-as {
3283              presence "Indicates a entire-aspath node is configured.";3388              presence "Indicates a entire-aspath node is configured.";
3284              description3389              description
3285                "Remove private AS number from outbound updates";3390                "Remove private AS number from outbound updates";
3286              container entire-aspath {3391              container entire-aspath {
3287                must "not(../inheritance-disable or ../internal)";3392                must "not(../inheritance-disable or ../internal)";
3288                presence "Indicates a entire-aspath node is configured.";3393                presence "Indicates a entire-aspath node is configured.";
3289                description3394                description
3290                  "remove only if all ASes in the path are private";3395                  "remove only if all ASes in the path are private";
3291              }3396              }
3292              container inheritance-disable {3397              container inheritance-disable {
3293                must "not(../entire-aspath or ../internal)";3398                must "not(../entire-aspath or ../internal)";
3294                presence "Indicates a inheritance-disable node is configured.";3399                presence "Indicates a inheritance-disable node is configured.";
3295                description3400                description
3296                  "Prevent remove-private-AS from being inherited from the parent";3401                  "Prevent remove-private-AS from being inherited from the parent";
3297              }3402              }
3298              container internal {3403              container internal {
3299                must "not(../entire-aspath or ../inheritance-disable)";3404                must "not(../entire-aspath or ../inheritance-disable)";
3300                presence "Indicates a inheritance-disable node is configured.";3405                presence "Indicates a inheritance-disable node is configured.";
3301                description3406                description
3302                  "remove only if all ASes in the path are private";3407                  "remove only if all ASes in the path are private";
3303                container inheritance-disable {3408                container inheritance-disable {
3304                  presence "Indicates a inheritance-disable node is configured.";3409                  presence "Indicates a inheritance-disable node is configured.";
3305                  description3410                  description
3306                    "Prevent remove-private-AS from being inherited from the parent";3411                    "Prevent remove-private-AS from being inherited from the parent";
3307                }3412                }
3308              }3413              }
3309            }3414            }
3310            container remove-private-as-inbound {3415            container remove-private-as-inbound {
3311              must "not(entire-aspath and inheritance-disable)";3416              must "not(entire-aspath and inheritance-disable)";
3312              presence "Indicates a remove-private-as-inbound node is configured.";3417              presence "Indicates a remove-private-as-inbound node is configured.";
3313              description3418              description
3314                "Remove private AS number from inbound updates";3419                "Remove private AS number from inbound updates";
3315              container entire-aspath {3420              container entire-aspath {
3316                presence "Indicates a entire-aspath node is configured.";3421                presence "Indicates a entire-aspath node is configured.";
3317                description3422                description
3318                  "remove only if all ASes in the path are private";3423                  "remove only if all ASes in the path are private";
3319              }3424              }
3320              container inheritance-disable {3425              container inheritance-disable {
3321                presence "Indicates a inheritance-disable node is configured.";3426                presence "Indicates a inheritance-disable node is configured.";
3322                description3427                description
3323                  "Prevent remove-private-AS from being inherited from the parent";3428                  "Prevent remove-private-AS from being inherited from the parent";
3324              }3429              }
3325            }3430            }
3326            container enforce-multiple-labels {3431            container enforce-multiple-labels {
3327              presence "Indicates a enforce-multiple-labels node is configured.";3432              presence "Indicates a enforce-multiple-labels node is configured.";
3328              description3433              description
3329                "Enforce support for multiple labels (requires manual session flap)";3434                "Enforce support for multiple labels (requires manual session flap)";
3330              container inheritance-disable {3435              container inheritance-disable {
3331                presence "Indicates a inheritance-disable node is configured.";3436                presence "Indicates a inheritance-disable node is configured.";
3332                description3437                description
3333                  "Prevent enforce-multiple-labels from being inherited from the parent";3438                  "Prevent enforce-multiple-labels from being inherited from the parent";
3334              }3439              }
3335            }3440            }
3336            container route-reflector-client {3441            container route-reflector-client {
3337              presence "Indicates a route-reflector-client node is configured.";3442              presence "Indicates a route-reflector-client node is configured.";
3338              description3443              description
3339                "Configure a neighbor as Route Reflector client";3444                "Configure a neighbor as Route Reflector client";
3340              container inheritance-disable {3445              container inheritance-disable {
3341                presence "Indicates a inheritance-disable node is configured.";3446                presence "Indicates a inheritance-disable node is configured.";
3342                description3447                description
3343                  "Prevent route-reflector-client from being inherited from the parent";3448                  "Prevent route-reflector-client from being inherited from the parent";
3344              }3449              }
3345            }3450            }
3346            container accept-route-legacy-rt {3451            container accept-route-legacy-rt {
3347              presence "Indicates a accept-route-legacy-rt node is configured.";3452              presence "Indicates a accept-route-legacy-rt node is configured.";
3348              description3453              description
3349                "Configure a neighbor to support legacy PE for RT-Constraint AF";3454                "Configure a neighbor to support legacy PE for RT-Constraint AF";
3350              container inheritance-disable {3455              container inheritance-disable {
3351                presence "Indicates a inheritance-disable node is configured.";3456                presence "Indicates a inheritance-disable node is configured.";
3352                description3457                description
3353                  "Prevent  accept-route-legacy-RT from being inherited from the parent";3458                  "Prevent  accept-route-legacy-RT from being inherited from the parent";
3354              }3459              }
3355            }3460            }
3356            container send-community-ebgp {3461            container send-community-ebgp {
3357              presence "Indicates a send-community-ebgp node is configured.";3462              presence "Indicates a send-community-ebgp node is configured.";
3358              description3463              description
3359                "Send community attribute to this external neighbor";3464                "Send community attribute to this external neighbor";
3360              container inheritance-disable {3465              container inheritance-disable {
3361                presence "Indicates a inheritance-disable node is configured.";3466                presence "Indicates a inheritance-disable node is configured.";
3362                description3467                description
3363                  "Prevent send-community-ebgp from being inherited from the parent";3468                  "Prevent send-community-ebgp from being inherited from the parent";
3364              }3469              }
3365            }3470            }
3366            container send-community-gshut-ebgp {3471            container send-community-gshut-ebgp {
3367              presence "Indicates a send-community-gshut-ebgp node is configured.";3472              presence "Indicates a send-community-gshut-ebgp node is configured.";
3368              description3473              description
3369                "Allow the g-shut community to be sent to this external neighbor";3474                "Allow the g-shut community to be sent to this external neighbor";
3370              container inheritance-disable {3475              container inheritance-disable {
3371                presence "Indicates a inheritance-disable node is configured.";3476                presence "Indicates a inheritance-disable node is configured.";
3372                description3477                description
3373                  "Prevent send-community-gshut-ebgp from being inherited from the parent";3478                  "Prevent send-community-gshut-ebgp from being inherited from the parent";
3374              }3479              }
3375            }3480            }
3376            container send-extended-community-ebgp {3481            container send-extended-community-ebgp {
3377              presence "Indicates a send-extended-community-ebgp node is configured.";3482              presence "Indicates a send-extended-community-ebgp node is configured.";
3378              description3483              description
3379                "Send extended community attribute to this external neighbor";3484                "Send extended community attribute to this external neighbor";
3380              container inheritance-disable {3485              container inheritance-disable {
3381                presence "Indicates a inheritance-disable node is configured.";3486                presence "Indicates a inheritance-disable node is configured.";
3382                description3487                description
3383                  "Prevent send-extended-community-ebgp from being inherited from parent";3488                  "Prevent send-extended-community-ebgp from being inherited from parent";
3384              }3489              }
3385            }3490            }
3386            container soft-reconfiguration {3491            container soft-reconfiguration {
3387              description3492              description
3388                "Per neighbor soft reconfiguration";3493                "Per neighbor soft reconfiguration";
3389              container inbound {3494              container inbound {
3390                presence "Indicates a inbound node is configured.";3495                presence "Indicates a inbound node is configured.";
3391                description3496                description
3392                  "Allow inbound soft reconfiguration for this neighbor";3497                  "Allow inbound soft reconfiguration for this neighbor";
3393                container rpki-dropped-only {3498                container rpki-dropped-only {
3394                  must "not(../rpki-tested-only or ../always or ../inheritance-disable)";3499                  must "not(../rpki-tested-only or ../always or ../inheritance-disable)";
3395                  presence "Indicates a rpki-dropped-only node is configured.";3500                  presence "Indicates a rpki-dropped-only node is configured.";
3396                  description3501                  description
3397                    "Use soft-reconfig, for paths dropped by route-policy which have RPKI validity state check";3502                    "Use soft-reconfig, for paths dropped by route-policy which have RPKI validity state check";
3398                }3503                }
3399                container rpki-tested-only {3504                container rpki-tested-only {
3400                  must "not(../rpki-dropped-only or ../always or ../inheritance-disable)";3505                  must "not(../rpki-dropped-only or ../always or ../inheritance-disable)";
3401                  presence "Indicates a rpki-tested-only node is configured.";3506                  presence "Indicates a rpki-tested-only node is configured.";
3402                  description3507                  description
3403                    "Use soft-reconfig for paths tested or dropped by route-policy which have RPKI validity state check";3508                    "Use soft-reconfig for paths tested or dropped by route-policy which have RPKI validity state check";
3404                }3509                }
3405                container always {3510                container always {
3406                  must "not(../rpki-dropped-only or ../rpki-tested-only or ../inheritance-disable)";3511                  must "not(../rpki-dropped-only or ../rpki-tested-only or ../inheritance-disable)";
3407                  presence "Indicates a always node is configured.";3512                  presence "Indicates a always node is configured.";
3408                  description3513                  description
3409                    "Always use soft reconfig, even if route refresh is supported";3514                    "Always use soft reconfig, even if route refresh is supported";
3410                }3515                }
3411                container inheritance-disable {3516                container inheritance-disable {
3412                  must "not(../rpki-dropped-only or ../rpki-tested-only or ../always)";3517                  must "not(../rpki-dropped-only or ../rpki-tested-only or ../always)";
3413                  presence "Indicates a inheritance-disable node is configured.";3518                  presence "Indicates a inheritance-disable node is configured.";
3414                  description3519                  description
3415                    "Prevent soft-reconfiguration from being inherited from the parent";3520                    "Prevent soft-reconfiguration from being inherited from the parent";
3416                }3521                }
3417              }3522              }
3418            }3523            }
3419            container update {3524            container update {
3420              description3525              description
3421                "BGP out bound message";3526                "BGP out bound message";
3422              container out {3527              container out {
3423                description3528                description
3424                  "BGP out bound message handling";3529                  "BGP out bound message handling";
3425                container originator-loopcheck {3530                container originator-loopcheck {
3426                  presence "Indicates a originator-loopcheck node is configured.";3531                  presence "Indicates a originator-loopcheck node is configured.";
3427                  description3532                  description
3428                    "Loop check for same originator which sent the route";3533                    "Loop check for same originator which sent the route";
3429                  container disable {3534                  container disable {
3430                    presence "Indicates a disable node is configured.";3535                    presence "Indicates a disable node is configured.";
3431                    description3536                    description
3432                      "Disable originator loop check";3537                      "Disable originator loop check";
3433                  }3538                  }
3434                }3539                }
3435              }3540              }
3436            }3541            }
3437            container advertise {3542            container advertise {
3438              description3543              description
3439                "Per neighbor advertisement options";3544                "Per neighbor advertisement options";
3440              container permanent-network {3545              container permanent-network {
3441                when3546                when
3442                  "../../af-name != 'vpnv4-unicast' and3547                  "../../af-name != 'vpnv4-unicast' and
3443                   ../../af-name != 'vpnv4-multicast' and3548                   ../../af-name != 'vpnv4-multicast' and
3444                   ../../af-name != 'vpnv4-flowspec' and3549                   ../../af-name != 'vpnv4-flowspec' and
3445                   ../../af-name != 'vpnv6-flowspec' and3550                   ../../af-name != 'vpnv6-flowspec' and
3446                   ../../af-name != 'vpnv6-multicast' and3551                   ../../af-name != 'vpnv6-multicast' and
3447                   ../../af-name != 'vpnv6-unicast' and3552                   ../../af-name != 'vpnv6-unicast' and
3448                   ../../af-name != 'l2vpn-evpn' and3553                   ../../af-name != 'l2vpn-evpn' and
3449                   ../../af-name != 'l2vpn-mspw' and3554                   ../../af-name != 'l2vpn-mspw' and
3450                   ../../af-name != 'l2vpn-vpls-vpws'";3555                   ../../af-name != 'l2vpn-vpls-vpws'";
3451                presence "Indicates a permanent-network node is configured.";3556                presence "Indicates a permanent-network node is configured.";
3452                description3557                description
3453                  "Allow permanent networks for this neighbor";3558                  "Allow permanent networks for this neighbor";
3454              }3559              }
3455              container local-labeled-route {3560              container local-labeled-route {
3456                when3561                when
3457                  "../../af-name != 'vpnv4-unicast' and3562                  "../../af-name != 'vpnv4-unicast' and
3458                   ../../af-name != 'vpnv4-multicast' and3563                   ../../af-name != 'vpnv4-multicast' and
3459                   ../../af-name != 'vpnv4-flowspec' and3564                   ../../af-name != 'vpnv4-flowspec' and
3460                   ../../af-name != 'vpnv6-flowspec' and3565                   ../../af-name != 'vpnv6-flowspec' and
3461                   ../../af-name != 'vpnv6-multicast' and3566                   ../../af-name != 'vpnv6-multicast' and
3462                   ../../af-name != 'vpnv6-unicast' and3567                   ../../af-name != 'vpnv6-unicast' and
3463                   ../../af-name != 'l2vpn-evpn' and3568                   ../../af-name != 'l2vpn-evpn' and
3464                   ../../af-name != 'l2vpn-mspw' and3569                   ../../af-name != 'l2vpn-mspw' and
3465                   ../../af-name != 'l2vpn-vpls-vpws'";3570                   ../../af-name != 'l2vpn-vpls-vpws'";
3466                presence "Indicates a local-labeled-route node is configured.";3571                presence "Indicates a local-labeled-route node is configured.";
3467                description3572                description
3468                  "Advertisement of routes with local-label";3573                  "Advertisement of routes with local-label";
3469                container disable {3574                container disable {
3470                  presence "Indicates a disable node is configured.";3575                  presence "Indicates a disable node is configured.";
3471                  description3576                  description
3472                    "Do not advertise routes with local-label via Unicast SAFI";3577                    "Do not advertise routes with local-label via Unicast SAFI";
3473                }3578                }
3474              }3579              }
3475              container vpnv4 {3580              container vpnv4 {
3476                when3581                when
3477                  "../../af-name = 'vpnv4-unicast' or3582                  "../../af-name = 'vpnv4-unicast' or
3478                   ../../af-name = 'vpnv6-unicast' or3583                   ../../af-name = 'vpnv6-unicast' or
3479                   ../../af-name = 'l2vpn-evpn'";3584                   ../../af-name = 'l2vpn-evpn'";
3480                description3585                description
3481                  "VPNv4 Address Family";3586                  "VPNv4 Address Family";
3482                container unicast {3587                container unicast {
3483                  description3588                  description
3484                    "Address Family modifier";3589                    "Address Family modifier";
3485                  container enable {3590                  container enable {
3486                    presence "Indicates an enable node is configured.";3591                    presence "Indicates an enable node is configured.";
3487                    description3592                    description
3488                      "Enable advertise vpnv4 unicast";3593                      "Enable advertise vpnv4 unicast";
3489                    container re-originated {3594                    container re-originated {
3490                      presence "Indicates a re-originated node is configured.";3595                      presence "Indicates a re-originated node is configured.";
3491                      description3596                      description
3492                        "Advertise re-orignated and local routes only";3597                        "Advertise re-orignated and local routes only";
3493                      container stitching-rt {3598                      container stitching-rt {
3494                        presence "Indicates a stitching-rt node is configured.";3599                        presence "Indicates a stitching-rt node is configured.";
3495                        description3600                        description
3496                          "Advertise re-originated and local routes with stitching Route-Targets";3601                          "Advertise re-originated and local routes with stitching Route-Targets";
3497                      }3602                      }
3498                    }3603                    }
3499                  }3604                  }
3500                  container imported-from-default-vrf {3605                  container imported-from-default-vrf {
3501                    description3606                    description
3502                      "Default VRF imported routes";3607                      "Default VRF imported routes";
3503                    container disable {3608                    container disable {
3504                      presence "Indicates a disable node is configured.";3609                      presence "Indicates a disable node is configured.";
3505                      description3610                      description
3506                        "Disable advertisement of default VRF imported routes";3611                        "Disable advertisement of default VRF imported routes";
3507                    }3612                    }
3508                  }3613                  }
3509                  container imported-from-vrf {3614                  container imported-from-vrf {
3510                    description3615                    description
3511                      "VRF extranet imported routes";3616                      "VRF extranet imported routes";
3512                    container disable {3617                    container disable {
3513                      presence "Indicates a disable node is configured.";3618                      presence "Indicates a disable node is configured.";
3514                      description3619                      description
3515                        "Disable advertisement of VRF extranet imported routes";3620                        "Disable advertisement of VRF extranet imported routes";
3516                    }3621                    }
3517                  }3622                  }
3518                  container imported-from-bridgedomain {3623                  container imported-from-bridgedomain {
3519                    description3624                    description
3520                      "VRF EVPN extranet imported routes ";3625                      "VRF EVPN extranet imported routes ";
3521                    container disable {3626                    container disable {
3522                      presence "Indicates a disable node is configured.";3627                      presence "Indicates a disable node is configured.";
3523                      description3628                      description
3524                        "Disable advertisement of VRF EVPN extranet imported routes";3629                        "Disable advertisement of VRF EVPN extranet imported routes";
3525                    }3630                    }
3526                  }3631                  }
3527                }3632                }
3528              }3633              }
3529              container vpnv6 {3634              container vpnv6 {
3530                when3635                when
3531                  "../../af-name = 'vpnv4-unicast' or3636                  "../../af-name = 'vpnv4-unicast' or
3532                   ../../af-name = 'vpnv6-unicast' or3637                   ../../af-name = 'vpnv6-unicast' or
3533                   ../../af-name = 'l2vpn-evpn'";3638                   ../../af-name = 'l2vpn-evpn'";
3534                description3639                description
3535                  "VPNv6 Address Family";3640                  "VPNv6 Address Family";
3536                container unicast {3641                container unicast {
3537                  description3642                  description
3538                    "Address Family modifier";3643                    "Address Family modifier";
3539                  container enable {3644                  container enable {
3540                    presence "Indicates an enable node is configured.";3645                    presence "Indicates an enable node is configured.";
3541                    description3646                    description
3542                      "Enable advertise vpnv6 unicast";3647                      "Enable advertise vpnv6 unicast";
3543                    container re-originated {3648                    container re-originated {
3544                      presence "Indicates a re-originated node is configured.";3649                      presence "Indicates a re-originated node is configured.";
3545                      description3650                      description
3546                        "Advertise Re-orignated routes only";3651                        "Advertise Re-orignated routes only";
3547                      container stitching-rt {3652                      container stitching-rt {
3548                        presence "Indicates a stitching-rt node is configured.";3653                        presence "Indicates a stitching-rt node is configured.";
3549                        description3654                        description
3550                          "Advertise re-originated routes with stitching Route-Targets";3655                          "Advertise re-originated routes with stitching Route-Targets";
3551                      }3656                      }
3552                    }3657                    }
3553                  }3658                  }
3554                  container imported-from-default-vrf {3659                  container imported-from-default-vrf {
3555                    description3660                    description
3556                      "Default VRF imported routes";3661                      "Default VRF imported routes";
3557                    container disable {3662                    container disable {
3558                      presence "Indicates a disable node is configured.";3663                      presence "Indicates a disable node is configured.";
3559                      description3664                      description
3560                        "Disable advertisement of default VRF imported routes";3665                        "Disable advertisement of default VRF imported routes";
3561                    }3666                    }
3562                  }3667                  }
3563                  container imported-from-vrf {3668                  container imported-from-vrf {
3564                    description3669                    description
3565                      "VRF extranet imported routes";3670                      "VRF extranet imported routes";
3566                    container disable {3671                    container disable {
3567                      presence "Indicates a disable node is configured.";3672                      presence "Indicates a disable node is configured.";
3568                      description3673                      description
3569                        "Disable advertisement of VRF extranet imported routes";3674                        "Disable advertisement of VRF extranet imported routes";
3570                    }3675                    }
3571                  }3676                  }
3572                  container imported-from-bridgedomain {3677                  container imported-from-bridgedomain {
3573                    description3678                    description
3574                      "VRF EVPN extranet imported routes";3679                      "VRF EVPN extranet imported routes";
3575                    container disable {3680                    container disable {
3576                      presence "Indicates a disable node is configured.";3681                      presence "Indicates a disable node is configured.";
3577                      description3682                      description
3578                        "Disable advertisement of VRF EVPN extranet imported routes";3683                        "Disable advertisement of VRF EVPN extranet imported routes";
3579                    }3684                    }
3580                  }3685                  }
3581                }3686                }
3582              }3687              }
3583              container l2vpn {3688              container l2vpn {
3584                when3689                when
3585                  "../../af-name = 'vpnv4-unicast' or3690                  "../../af-name = 'vpnv4-unicast' or
3586                   ../../af-name = 'vpnv6-unicast' or3691                   ../../af-name = 'vpnv6-unicast' or
3587                   ../../af-name = 'l2vpn-evpn'";3692                   ../../af-name = 'l2vpn-evpn'";
3588                description3693                description
3589                  "L2VPN Address Family";3694                  "L2VPN Address Family";
3590                container evpn {3695                container evpn {
3591                  when "../../../af-name = 'l2vpn-evpn'";3696                  when "../../../af-name = 'l2vpn-evpn'";
3592                  presence "Indicates a evpn node is configured.";3697                  presence "Indicates a evpn node is configured.";
3593                  description3698                  description
3594                    "Address Family modifier";3699                    "Address Family modifier";
3595                  container re-originated {3700                  container re-originated {
3596                    presence "Indicates a re-originated node is configured.";3701                    presence "Indicates a re-originated node is configured.";
3597                    description3702                    description
3598                      "Advertise Re-orignated routes only";3703                      "Advertise Re-orignated routes only";
3599                    container stitching-rt {3704                    container stitching-rt {
3600                      presence "Indicates a stitching-rt node is configured.";3705                      presence "Indicates a stitching-rt node is configured.";
3601                      description3706                      description
3602                        "Advertise re-originated routes with stitching Route-Targets";3707                        "Advertise re-originated routes with stitching Route-Targets";
3603                    }3708                    }
3604                  }3709                  }
3605                }3710                }
3606                container evpn-disable {3711                container evpn-disable {
3607                  presence "Indicates a disable node is configured.";3712                  presence "Indicates a disable node is configured.";
3608                  description3713                  description
3609                    "Disable Advertisement of selected SAFI";3714                    "Disable Advertisement of selected SAFI";
3610                }3715                }
3611                container vpls-vpws {3716                container vpls-vpws {
3612                  description3717                  description
3613                    "Address Family modifier";3718                    "Address Family modifier";
3614                  container disable {3719                  container disable {
3615                    presence "Indicates a disable node is configured.";3720                    presence "Indicates a disable node is configured.";
3616                    description3721                    description
3617                      "Disable Advertisement of selected SAFI";3722                      "Disable Advertisement of selected SAFI";
3618                  }3723                  }
3619                }3724                }
3620                container mspw {3725                container mspw {
3621                  description3726                  description
3622                    "Address Family modifier";3727                    "Address Family modifier";
3623                  container disable {3728                  container disable {
3624                    presence "Indicates a disable node is configured.";3729                    presence "Indicates a disable node is configured.";
3625                    description3730                    description
3626                      "Disable Advertisement of selected SAFI";3731                      "Disable Advertisement of selected SAFI";
3627                  }3732                  }
3628                }3733                }
3629                container gateway-ip-disable {3734                container gateway-ip-disable {
3630                  when "../../../af-name = 'l2vpn-evpn'";3735                  when "../../../af-name = 'l2vpn-evpn'";
3631                  presence "Indicates a gateway-ip-disable node is configured.";3736                  presence "Indicates a gateway-ip-disable node is configured.";
3632                  description3737                  description
3633                    "Disable advertisement of non-zero EVPN Gateway-IP";3738                    "Disable advertisement of non-zero EVPN Gateway-IP";
3634                  container inheritance-disable {3739                  container inheritance-disable {
3635                    presence "Indicates a inheritance-disable node is configured.";3740                    presence "Indicates a inheritance-disable node is configured.";
3636                    description3741                    description
3637                      "Prevent EVPN Gateway-IP disable being inherited from a parent group";3742                      "Prevent EVPN Gateway-IP disable being inherited from a parent group";
3638                  }3743                  }
3639                }3744                }
3640              }3745              }
3641            }3746            }
3642            container encapsulation-type {3747            container encapsulation-type {
3643              when3748              when
3644                "../af-name = 'ipv4-unicast' or3749                "../af-name = 'ipv4-unicast' or
3645                 ../af-name = 'ipv6-unicast' or3750                 ../af-name = 'ipv6-unicast' or
3646                 ../af-name = 'vpnv4-unicast' or3751                 ../af-name = 'vpnv4-unicast' or
3647                 ../af-name = 'vpnv6-unicast' or3752                 ../af-name = 'vpnv6-unicast' or
3648                 ../af-name = 'l2vpn-evpn'";3753                 ../af-name = 'l2vpn-evpn'";
3649              description3754              description
3650                "Specify encapsulation type";3755                "Specify encapsulation type";
3651              container vxlan {3756              container vxlan {
3652                when3757                when
3653                  "../../af-name = 'vpnv4-unicast' or3758                  "../../af-name = 'vpnv4-unicast' or
3654                   ../../af-name = 'vpnv6-unicast' or3759                   ../../af-name = 'vpnv6-unicast' or
3655                   ../../af-name = 'l2vpn-evpn'";3760                   ../../af-name = 'l2vpn-evpn'";
3656                must "not(../srv6)";3761                must "not(../srv6)";
3657                presence "Indicates a vxlan node is configured.";3762                presence "Indicates a vxlan node is configured.";
3658                description3763                description
3659                  "VxLAN encapsulation";3764                  "VxLAN encapsulation";
3660              }3765              }
3661              container srv6 {3766              container srv6 {
3662                when "../../af-name != 'l2vpn-evpn'";3767                when "../../af-name != 'l2vpn-evpn'";
3663                must "not(../vxlan)";3768                must "not(../vxlan)";
3664                presence "Indicates a srv6 node is configured.";3769                presence "Indicates a srv6 node is configured.";
3665                description3770                description
3666                  "SRv6 encapsulation";3771                  "SRv6 encapsulation";
3667              }3772              }
3668            }3773            }
3669            container segment-routing {3774            container segment-routing {
3670              when "../af-name = 'vpnv4-unicast'";3775              when "../af-name = 'vpnv4-unicast'";
3671              description3776              description
3672                "enable segment-routing srv6 version 4";3777                "enable segment-routing srv6 version 4";
3673              container srv6 {3778              container srv6 {
3674                description3779                description
3675                  "srv6 version 4";3780                  "srv6 version 4";
3676                container prefix-sid-type4 {3781                container prefix-sid-type4 {
3677                  presence "Indicates a prefix-sid-type4 node is configured.";3782                  presence "Indicates a prefix-sid-type4 node is configured.";
3678                  description3783                  description
3679                    "Enable prefix sid version 4 encoding";3784                    "Enable prefix sid version 4 encoding";
3680                }3785                }
3681              }3786              }
3682            }3787            }
3683            container import {3788            container import {
3684              when "../af-name = 'vpnv4-unicast' or ../af-name = 'vpnv6-unicast'  or ../af-name = 'l2vpn-evpn'";3789              when "../af-name = 'vpnv4-unicast' or ../af-name = 'vpnv6-unicast'  or ../af-name = 'l2vpn-evpn'";
3685              description3790              description
3686                "Import options for neighbor address-family routes";3791                "Import options for neighbor address-family routes";
3687              container stitching-rt {3792              container stitching-rt {
3688                presence "Indicates a stitching-rt node is configured.";3793                presence "Indicates a stitching-rt node is configured.";
3689                description3794                description
3690                  "Import routes using stitching RTs";3795                  "Import routes using stitching RTs";
3691                container re-originate {3796                container re-originate {
3692                  presence "Indicates a re-originate node is configured.";3797                  presence "Indicates a re-originate node is configured.";
3693                  description3798                  description
3694                    "Re-originate imported routes";3799                    "Re-originate imported routes";
3695                  container stitching-rt {3800                  container stitching-rt {
3696                    presence "Indicates a stitching-rt node is configured.";3801                    presence "Indicates a stitching-rt node is configured.";
3697                    description3802                    description
3698                      "Reoriginate imported routes by attaching stitching RTs";3803                      "Reoriginate imported routes by attaching stitching RTs";
3699                  }3804                  }
3700                }3805                }
3701              }3806              }
3702            }3807            }
3703            leaf weight {3808            leaf weight {
3704              type uint32 {3809              type uint32 {
3705                range "0..65535" {3810                range "0..65535" {
3706                  description3811                  description
3707                    "default weight";3812                    "default weight";
3708                }3813                }
3709              }3814              }
3710              description3815              description
3711                "Set default weight for routes from this neighbor";3816                "Set default weight for routes from this neighbor";
3712            }3817            }
3713            container allowas-in {3818            container allowas-in {
3714              presence "Indicates a allowas-in node is configured.";3819              presence "Indicates a allowas-in node is configured.";
3715              description3820              description
3716                "Allow as-path with my AS present in it";3821                "Allow as-path with my AS present in it";
3717              leaf number-of-occurences {3822              leaf number-of-occurences {
3718                type uint32 {3823                type uint32 {
3719                  range "1..10" {3824                  range "1..10" {
3720                    description3825                    description
3721                      "Number of occurences of AS number";3826                      "Number of occurences of AS number";
3722                  }3827                  }
3723                }3828                }
3724                description3829                description
3725                  "Number of occurences of AS number";3830                  "Number of occurences of AS number";
3726              }3831              }
3727            }3832            }
3728            container allowconfedas-in {3833            container allowconfedas-in {
3729              presence "Indicates a allowconfedas-in node is configured.";3834              presence "Indicates a allowconfedas-in node is configured.";
3730              description3835              description
3731                "Allow as-path with my confederation AS present in it";3836                "Allow as-path with my confederation AS present in it";
3732              leaf number-of-occurences {3837              leaf number-of-occurences {
3733                type uint32 {3838                type uint32 {
3734                  range "1..10" {3839                  range "1..10" {
3735                    description3840                    description
3736                      "Number of occurences of confederation AS number";3841                      "Number of occurences of confederation AS number";
3737                  }3842                  }
3738                }3843                }
3739                description3844                description
3740                  "Number of occurences of confederation AS number";3845                  "Number of occurences of confederation AS number";
3741              }3846              }
3742            }3847            }
3743            container long-lived-graceful-restart {3848            container long-lived-graceful-restart {
3744              description3849              description
3745                "Enable long lived graceful restart support";3850                "Enable long lived graceful restart support";
3746              container stale-time {3851              container stale-time {
3747                description3852                description
3748                  "Maximum time to wait before purging long-lived stale routes";3853                  "Maximum time to wait before purging long-lived stale routes";
3749                leaf send {3854                leaf send {
3750                  type uint32 {3855                  type uint32 {
3751                    range "0..16777215" {3856                    range "0..16777215" {
3752                      description3857                      description
3753                        "Max time (seconds)";3858                        "Max time (seconds)";
3754                    }3859                    }
3755                  }3860                  }
3756                  description3861                  description
3757                    "Stale-time sent in LLGR Capability";3862                    "Stale-time sent in LLGR Capability";
3758                }3863                }
3759                leaf accept {3864                leaf accept {
3760                  type uint32 {3865                  type uint32 {
3761                    range "0..16777215" {3866                    range "0..16777215" {
3762                      description3867                      description
3763                        "Max time (seconds)";3868                        "Max time (seconds)";
3764                    }3869                    }
3765                  }3870                  }
3766                  description3871                  description
3767                    "Maximum stale-time acceptable from neighbor";3872                    "Maximum stale-time acceptable from neighbor";
3768                }3873                }
3769              }3874              }
3770              container capable {3875              container capable {
3771                presence "Indicates a capable node is configured.";3876                presence "Indicates a capable node is configured.";
3772                description3877                description
3773                  "Treat neighbor as LLGR capable";3878                  "Treat neighbor as LLGR capable";
3774              }3879              }
3775            }3880            }
3776            container as-override {3881            container as-override {
3777              presence "Indicates a as-override node is configured.";3882              presence "Indicates a as-override node is configured.";
3778              description3883              description
3779                "Override matching AS-number while sending update";3884                "Override matching AS-number while sending update";
3780              container inheritance-disable {3885              container inheritance-disable {
3781                presence "Indicates a inheritance-disable node is configured.";3886                presence "Indicates a inheritance-disable node is configured.";
3782                description3887                description
3783                  "Prevent as-override from being inherited from the parent";3888                  "Prevent as-override from being inherited from the parent";
3784              }3889              }
3785            }3890            }
3786            container aigp {3891            container aigp {
3787              presence "Indicates a aigp node is configured.";3892              presence "Indicates a aigp node is configured.";
3788              description3893              description
3789                "Enable AIGP for this neighbor ";3894                "Enable AIGP for this neighbor ";
3790              container disable {3895              container disable {
3791                presence "Indicates a disable node is configured.";3896                presence "Indicates a disable node is configured.";
3792                description3897                description
3793                  "Disable AIGP";3898                  "Disable AIGP";
3794              }3899              }
3795            }3900            }
3796            container aigp-send {3901            container aigp-send {
3797              description3902              description
3798                "Copy AIGP";3903                "Copy AIGP";
3799              container cost-community {3904              container cost-community {
3800                must "(cost-community-id and poi) or disable";3905                must "(cost-community-id and poi) or disable";
3801                presence "Indicates a cost-community node is configured.";3906                presence "Indicates a cost-community node is configured.";
3802                description3907                description
3803                  "Send AIGP value in Cost Community";3908                  "Send AIGP value in Cost Community";
3804                leaf cost-community-id {3909                leaf cost-community-id {
3805                  type uint32 {3910                  type uint32 {
3806                    range "0..255" {3911                    range "0..255" {
3807                      description3912                      description
3808                        "Cost community ID";3913                        "Cost community ID";
3809                    }3914                    }
3810                  }3915                  }
3811                  must "not(../disable)";3916                  must "not(../disable)";
3812                  description3917                  description
3813                    "Cost community ID";3918                    "Cost community ID";
3814                }3919                }
3815                container poi {3920                container poi {
3816                  must "(igp-cost or pre-bestpath) and not(igp-cost and pre-bestpath)";3921                  must "(igp-cost or pre-bestpath) and not(igp-cost and pre-bestpath)";
3817                  presence "Indicates a poi node is configured.";3922                  presence "Indicates a poi node is configured.";
3818                  description3923                  description
3819                    "Point of insertion for bestpath calculation";3924                    "Point of insertion for bestpath calculation";
3820                  container igp-cost {3925                  container igp-cost {
3821                    presence "Indicates a igp-cost node is configured.";3926                    presence "Indicates a igp-cost node is configured.";
3822                    description3927                    description
3823                      "Cost community is used after IGP distance to next hop";3928                      "Cost community is used after IGP distance to next hop";
3824                    container transitive {3929                    container transitive {
3825                      presence "Indicates a transitive node is configured.";3930                      presence "Indicates a transitive node is configured.";
3826                      description3931                      description
3827                        "Enable transitive cost community";3932                        "Enable transitive cost community";
3828                    }3933                    }
3829                  }3934                  }
3830                  container pre-bestpath {3935                  container pre-bestpath {
3831                    presence "Indicates a pre-bestpath node is configured.";3936                    presence "Indicates a pre-bestpath node is configured.";
3832                    description3937                    description
3833                      "Cost community is first step in best path calculation";3938                      "Cost community is first step in best path calculation";
3834                    container transitive {3939                    container transitive {
3835                      presence "Indicates a transitive node is configured.";3940                      presence "Indicates a transitive node is configured.";
3836                      description3941                      description
3837                        "Enable transitive cost community";3942                        "Enable transitive cost community";
3838                    }3943                    }
3839                  }3944                  }
3840                }3945                }
3841                container disable {3946                container disable {
3842                  must "not(../cost-community-id)";3947                  must "not(../cost-community-id)";
3843                  presence "Indicates a disable node is configured.";3948                  presence "Indicates a disable node is configured.";
3844                  description3949                  description
3845                    "Disable aigp send cost-community";3950                    "Disable aigp send cost-community";
3846                }3951                }
3847              }3952              }
3848              container med {3953              container med {
3849                presence "Indicates a med node is configured.";3954                presence "Indicates a med node is configured.";
3850                description3955                description
3851                  "Send AIGP value in MED";3956                  "Send AIGP value in MED";
3852                container disable {3957                container disable {
3853                  presence "Indicates a disable node is configured.";3958                  presence "Indicates a disable node is configured.";
3854                  description3959                  description
3855                    "Disable aigp send med";3960                    "Disable aigp send med";
3856                }3961                }
3857              }3962              }
3858            }3963            }
3859            container validation {3964            container validation {
3860              when "../af-name = 'ipv4-flowspec' or ../af-name = 'ipv6-flowspec'";3965              when "../af-name = 'ipv4-flowspec' or ../af-name = 'ipv6-flowspec'";
3861              presence "Indicates a validation node is configured.";3966              presence "Indicates a validation node is configured.";
3862              description3967              description
3863                "Flowspec Validation for this neighbor ";3968                "Flowspec Validation for this neighbor ";
3864              container disable {3969              container disable {
3865                presence "Indicates a disable node is configured.";3970                presence "Indicates a disable node is configured.";
3866                description3971                description
3867                  "Disable Flowspec Validation";3972                  "Disable Flowspec Validation";
3868              }3973              }
3869              container redirect {3974              container redirect {
3870                description3975                description
3871                  "Flowspec Redirect nexthop Validation";3976                  "Flowspec Redirect nexthop Validation";
3872                container disable {3977                container disable {
3873                  presence "Indicates a disable node is configured.";3978                  presence "Indicates a disable node is configured.";
3874                  description3979                  description
3875                    "Disable Flowspec Redirect nexthop Validation";3980                    "Disable Flowspec Redirect nexthop Validation";
3876                }3981                }
3877              }3982              }
3878            }3983            }
3879            container send-multicast-attributes {3984            container send-multicast-attributes {
3880              when "../af-name = 'ipv4-unicast' or ../af-name = 'ipv6-unicast' or ../af-name = 'ipv4-labeled-unicast' or ../af-name = 'ipv6-labeled-unicast' or ../af-name = 'ipv4-multicast' or ../af-name = 'ipv6-multicast' or ../af-name = 'ipv4-mvpn' or ../af-name = 'ipv6-mvpn'";3985              when "../af-name = 'ipv4-unicast' or ../af-name = 'ipv6-unicast' or ../af-name = 'ipv4-labeled-unicast' or ../af-name = 'ipv6-labeled-unicast' or ../af-name = 'ipv4-multicast' or ../af-name = 'ipv6-multicast' or ../af-name = 'ipv4-mvpn' or ../af-name = 'ipv6-mvpn'";
3881              presence "Indicates a send-multicast-attributes node is configured.";3986              presence "Indicates a send-multicast-attributes node is configured.";
3882              description3987              description
3883                "Send multicast attributes to this neighbor ";3988                "Send multicast attributes to this neighbor ";
3884              container disable {3989              container disable {
3885                presence "Indicates a disable node is configured.";3990                presence "Indicates a disable node is configured.";
3886                description3991                description
3887                  "Disable send multicast attribute";3992                  "Disable send multicast attribute";
3888              }3993              }
3889            }3994            }
3890            container signalling {3995            container signalling {
3891              description3996              description
3892                "Signalling protocols to disable, BGP or LDP";3997                "Signalling protocols to disable, BGP or LDP";
3893              container bgp {3998              container bgp {
3894                description3999                description
3895                  "Select BGP to disable";4000                  "Select BGP to disable";
3896                container disable {4001                container disable {
3897                  presence "Indicates a disable node is configured.";4002                  presence "Indicates a disable node is configured.";
3898                  description4003                  description
3899                    "Disable Signalling type";4004                    "Disable Signalling type";
3900                }4005                }
3901              }4006              }
3902              container ldp {4007              container ldp {
3903                description4008                description
3904                  "Select LDP to disable";4009                  "Select LDP to disable";
3905                container disable {4010                container disable {
3906                  presence "Indicates a disable node is configured.";4011                  presence "Indicates a disable node is configured.";
3907                  description4012                  description
3908                    "Disable Signalling type";4013                    "Disable Signalling type";
3909                }4014                }
3910              }4015              }
3911            }4016            }
3912            container accept-own {4017            container accept-own {
3913              presence "Indicates a accept-own node is configured.";4018              presence "Indicates a accept-own node is configured.";
3914              description4019              description
3915                "Handle self-originated routes with Accept-Own community";4020                "Handle self-originated routes with Accept-Own community";
3916              container inheritance-disable {4021              container inheritance-disable {
3917                presence "Indicates a inheritance-disable node is configured.";4022                presence "Indicates a inheritance-disable node is configured.";
3918                description4023                description
3919                  "Prevent item being inherited from a parent group";4024                  "Prevent item being inherited from a parent group";
3920              }4025              }
3921            }4026            }
3922            container cluster-id {4027            container cluster-id {
3923              description4028              description
3924                "Allow routes with first cluster-id in list is same as the router's cluster id";4029                "Allow routes with first cluster-id in list is same as the router's cluster id";
3925              container allow-equal {4030              container allow-equal {
3926                presence "Indicates a allow-equal node is configured.";4031                presence "Indicates a allow-equal node is configured.";
3927                description4032                description
3928                  "Accept routes with first cluster-id in list is same as the router's cluster id";4033                  "Accept routes with first cluster-id in list is same as the router's cluster id";
3929                container disable {4034                container disable {
3930                  presence "Indicates a allow-equal node is configured.";4035                  presence "Indicates a allow-equal node is configured.";
3931                  description4036                  description
3932                    "Prevent the configuration from being inherited.";4037                    "Prevent the configuration from being inherited.";
3933                }4038                }
3934              }4039              }
3935            }4040            }
3936            container multipath {4041            container multipath {
3937              presence "Indicates a multipath node is configured.";4042              presence "Indicates a multipath node is configured.";
3938              description4043              description
3939                "Paths from this neighbor is eligible for multipath";4044                "Paths from this neighbor is eligible for multipath";
3940            }4045            }
3941            container additional-paths {4046            container additional-paths {
3942              description4047              description
3943                "Additional paths capability";4048                "Additional paths capability";
3944              container receive {4049              container receive {
3945                presence "Indicates a receive node is configured.";4050                presence "Indicates a receive node is configured.";
3946                description4051                description
3947                  "Additional paths Receive capability";4052                  "Additional paths Receive capability";
3948                container disable {4053                container disable {
3949                  presence "Indicates a disable node is configured.";4054                  presence "Indicates a disable node is configured.";
3950                  description4055                  description
3951                    "Prevent additional-paths receive from being inherited from the parent";4056                    "Prevent additional-paths receive from being inherited from the parent";
3952                }4057                }
3953              }4058              }
3954              container send {4059              container send {
3955                presence "Indicates a send node is configured.";4060                presence "Indicates a send node is configured.";
3956                description4061                description
3957                  "Additional paths Send capability";4062                  "Additional paths Send capability";
3958                container disable {4063                container disable {
3959                  presence "Indicates a disable node is configured.";4064                  presence "Indicates a disable node is configured.";
3960                  description4065                  description
3961                    "Prevent additional-paths receive from being inherited from the parent";4066                    "Prevent additional-paths receive from being inherited from the parent";
3962                }4067                }
3963              }4068              }
3964            }4069            }
3965          }4070          }
3966        }4071        }
3967        container update {4072        container update {
3968          description4073          description
3969            "BGP Update configuration";4074            "BGP Update configuration";
3970          container in {4075          container in {
3971            description4076            description
3972              "Inbound update message handling";4077              "Inbound update message handling";
3973            container filtering {4078            container filtering {
3974              presence "Indicates a filtering node is configured.";4079              presence "Indicates a filtering node is configured.";
3975              description4080              description
3976                "Inbound update message filtering";4081                "Inbound update message filtering";
3977              container message {4082              container message {
3978                description4083                description
3979                  "Filtered update messages";4084                  "Filtered update messages";
3980                container buffers {4085                container buffers {
3981                  presence "Indicates a buffers node is configured.";4086                  presence "Indicates a buffers node is configured.";
3982                  description4087                  description
3983                    "Filtered update message buffers";4088                    "Filtered update message buffers";
3984                  leaf number-of-buffers {4089                  leaf number-of-buffers {
3985                    type uint32 {4090                    type uint32 {
3986                      range "0..25" {4091                      range "0..25" {
3987                        description4092                        description
3988                          "Number of buffers to store filtered update messages (resizing does not take effect after filtering action has started)";4093                          "Number of buffers to store filtered update messages (resizing does not take effect after filtering action has started)";
3989                      }4094                      }
3990                    }4095                    }
3991                    mandatory true;4096                    mandatory true;
3992                    description4097                    description
3993                      "Filtered update message buffers";4098                      "Filtered update message buffers";
3994                  }4099                  }
3995                  container non-circular {4100                  container non-circular {
3996                    presence "Indicates a non-circular node is configured.";4101                    presence "Indicates a non-circular node is configured.";
3997                    description4102                    description
3998                      "Message buffer list is not circular";4103                      "Message buffer list is not circular";
3999                  }4104                  }
4000                }4105                }
4001              }4106              }
4002              container logging {4107              container logging {
4003                description4108                description
4004                  "Update filtering syslog message";4109                  "Update filtering syslog message";
4005                container disable {4110                container disable {
4006                  presence "Indicates a disable node is configured.";4111                  presence "Indicates a disable node is configured.";
4007                  description4112                  description
4008                    "Disable update filtering syslog message";4113                    "Disable update filtering syslog message";
4009                }4114                }
4010              }4115              }
4011              container attribute-filter {4116              container attribute-filter {
4012                description4117                description
4013                  "Attribute-filter configuration";4118                  "Attribute-filter configuration";
4014                leaf group {4119                leaf group {
4015                  type string {4120                  type string {
4016                    length "1..1024" {4121                    length "1..1024" {
4017                      description4122                      description
4018                        "Attribute-filter group name";4123                        "Attribute-filter group name";
4019                    }4124                    }
4020                  }4125                  }
4021                  description4126                  description
4022                    "Attribute-filter group configuration";4127                    "Attribute-filter group configuration";
4023                }4128                }
4024              }4129              }
4025            }4130            }
4026            container merge {4131            container merge {
4027              description4132              description
4028                "Merge incoming updates";4133                "Merge incoming updates";
4029              container safi {4134              container safi {
4030                description4135                description
4031                  "SAFI of the NLRIs to merge";4136                  "SAFI of the NLRIs to merge";
4032                container unicast {4137                container unicast {
4033                  description4138                  description
4034                    "IPv4/IPv6 unicast paths";4139                    "IPv4/IPv6 unicast paths";
4035                  container labeled-unicast {4140                  container labeled-unicast {
4036                    presence "Indicates a labeled-unicast node is configured.";4141                    presence "Indicates a labeled-unicast node is configured.";
4037                    description4142                    description
4038                      "IPv4/IPv6 labeled-unicast paths";4143                      "IPv4/IPv6 labeled-unicast paths";
4039                    container inheritance-disable {4144                    container inheritance-disable {
4040                      presence "Indicates a inheritance-disable node is configured.";4145                      presence "Indicates a inheritance-disable node is configured.";
4041                      description4146                      description
4042                        "Do not inherit this configuration from parent group";4147                        "Do not inherit this configuration from parent group";
4043                    }4148                    }
4044                  }4149                  }
4045                }4150                }
4046              }4151              }
4047            }4152            }
4048            container error-handling {4153            container error-handling {
4049              description4154              description
4050                "Inbound update message error handling";4155                "Inbound update message error handling";
4051              container avoid-reset {4156              container avoid-reset {
4052                presence "Indicates a avoid-reset node is configured.";4157                presence "Indicates a avoid-reset node is configured.";
4053                description4158                description
4054                  "Avoid neighbor reset during inbound update message error handling";4159                  "Avoid neighbor reset during inbound update message error handling";
4055                container disable {4160                container disable {
4056                  presence "Indicates a disable node is configured.";4161                  presence "Indicates a disable node is configured.";
4057                  description4162                  description
4058                    "Neighbor may be reset during inbound update message error handling";4163                    "Neighbor may be reset during inbound update message error handling";
4059                }4164                }
4060              }4165              }
4061              container treat-as-withdraw {4166              container treat-as-withdraw {
4062                presence "Indicates a treat-as-withdraw node is configured.";4167                presence "Indicates a treat-as-withdraw node is configured.";
4063                description4168                description
4064                  "Treat NLRIs as withdraws during inbound update message error handling";4169                  "Treat NLRIs as withdraws during inbound update message error handling";
4065                container disable {4170                container disable {
4066                  presence "Indicates a disable node is configured.";4171                  presence "Indicates a disable node is configured.";
4067                  description4172                  description
4068                    "Disable treat NLRIs as withdraws during inbound update message error handling";4173                    "Disable treat NLRIs as withdraws during inbound update message error handling";
4069                }4174                }
4070              }4175              }
4071            }4176            }
4072          }4177          }
4073        }4178        }
4074        container graceful-maintenance {4179        container graceful-maintenance {
4075          presence "Indicates a graceful-maintenance node is configured.";4180          presence "Indicates a graceful-maintenance node is configured.";
4076          description4181          description
4077            "Attributes for Graceful Maintenance. This will cause neig dprefer routes from this router and choonas. This allows the router to be brourt of service gracefully.";4182            "Attributes for Graceful Maintenance. This will cause neig dprefer routes from this router and choonas. This allows the router to be brourt of service gracefully.";
4078          container local-preference {4183          container local-preference {
4079            must "local-preference-value or inheritance-disable";4184            must "local-preference-value or inheritance-disable";
4080            presence "Indicates a local-preference node is configured.";4185            presence "Indicates a local-preference node is configured.";
4081            description4186            description
4082              "local preference with which to advertise routes to ibgps. Default=No Touch";4187              "local preference with which to advertise routes to ibgps. Default=No Touch";
4083            leaf local-preference-value {4188            leaf local-preference-value {
4084              type uint32 {4189              type uint32 {
4085                range "0..4294967295" {4190                range "0..4294967295" {
4086                  description4191                  description
4087                    "Range of values for Local Preference";4192                    "Range of values for Local Preference";
4088                }4193                }
4089              }4194              }
4090              description4195              description
4091                "Range of values for Local Preference";4196                "Range of values for Local Preference";
4092            }4197            }
4093            container inheritance-disable {4198            container inheritance-disable {
4094              presence "Indicates a inheritance-disable node is configured.";4199              presence "Indicates a inheritance-disable node is configured.";
4095              description4200              description
4096                "Prevent local preference from being inherited from the parent";4201                "Prevent local preference from being inherited from the parent";
4097            }4202            }
4098          }4203          }
4099          container as-prepends {4204          container as-prepends {
4100            must "number-of-as-prepends or inheritance-disable";4205            must "number-of-as-prepends or inheritance-disable";
4101            presence "Indicates a as-prepends node is configured.";4206            presence "Indicates a as-prepends node is configured.";
4102            description4207            description
4103              "Number of times to prepend the local AS number to the AS pous. Default=0";4208              "Number of times to prepend the local AS number to the AS pous. Default=0";
4104            leaf number-of-as-prepends {4209            leaf number-of-as-prepends {
4105              type uint32 {4210              type uint32 {
4106                range "0..6" {4211                range "0..6" {
4107                  description4212                  description
4108                    "Range of number of AS prepends";4213                    "Range of number of AS prepends";
4109                }4214                }
4110              }4215              }
4111              description4216              description
4112                "Range of number of AS prepends";4217                "Range of number of AS prepends";
4113            }4218            }
4114            container inheritance-disable {4219            container inheritance-disable {
4115              presence "Indicates a inheritance-disable node is configured.";4220              presence "Indicates a inheritance-disable node is configured.";
4116              description4221              description
4117                "Prevent AS prepends from being inherited from the parent";4222                "Prevent AS prepends from being inherited from the parent";
4118            }4223            }
4119          }4224          }
4120          container activate {4225          container activate {
4121            presence "Indicates a activate node is configured.";4226            presence "Indicates a activate node is configured.";
4122            description4227            description
4123              "Routes will be announced with the graceful maintenance4228              "Routes will be announced with the graceful maintenance
4124               attrhi activated either here or under router4229               attrhi activated either here or under router
4125               bgp atn. While activated, all routes to this4230               bgp atn. While activated, all routes to this
4126               neigl  announced with the attributes4231               neigl  announced with the attributes
4127               conferand all routes from this neighbor will4232               conferand all routes from this neighbor will
4128               be a tother neighbors with the graceful4233               be a tother neighbors with the graceful
4129               mainatibutes configured under those4234               mainatibutes configured under those
4130               neighe-shut community will be announced4235               neighe-shut community will be announced
4131               regaf e other attributes configured here. To4236               regaf e other attributes configured here. To
4132               allosh community to be announced to ebgp4237               allosh community to be announced to ebgp
4133               neigheend-community-gshut-ebgp configuration4238               neigheend-community-gshut-ebgp configuration
4134               is air. Note: changes to the attributes will4239               is air. Note: changes to the attributes will
4135               not ecwhile activated.";4240               not ecwhile activated.";
4136            container inheritance-disable {4241            container inheritance-disable {
4137              presence "Indicates a inheritance-disable node is configured.";4242              presence "Indicates a inheritance-disable node is configured.";
4138              description4243              description
4139                "Prevent activate from being inherited from the parent";4244                "Prevent activate from being inherited from the parent";
4140            }4245            }
4141          }4246          }
4142          container bandwidth-aware {4247          container bandwidth-aware {
4143            description4248            description
4144              "Session interface Bandwidth based Graceful-Maintenance4249              "Session interface Bandwidth based Graceful-Maintenance
4145               Only restricted to eBGP directly connected, this will4250               Only restricted to eBGP directly connected, this will
4146               enable Graceful maintenance whenever the link effective4251               enable Graceful maintenance whenever the link effective
4147               bandwidth goes below a configurable low-threshold and deactivates4252               bandwidth goes below a configurable low-threshold and deactivates
4148               based on effective bandwidth reaches the high-threshold4253               based on effective bandwidth reaches the high-threshold
4149               or low-threshold if high-threshold is not configured";4254               or low-threshold if high-threshold is not configured";
4150            leaf bandwidth-threshold {4255            leaf bandwidth-threshold {
4151              type uint32 {4256              type uint32 {
4152                range "1..4294967295" {4257                range "1..4294967295" {
4153                  description4258                  description
4154                    "Low threshold of effective bandwidth (in kbps) to enter/exit graceful-maintenance";4259                    "Low threshold of effective bandwidth (in kbps) to enter/exit graceful-maintenance";
4155                }4260                }
4156              }4261              }
4157              must "not(../percentage-threshold)";4262              must "not(../percentage-threshold)";
4158              description4263              description
4159                "Bandwidth based threshold detection in kbps";4264                "Bandwidth based threshold detection in kbps";
4160            }4265            }
4161            leaf bandwidth-threshold-high {4266            leaf bandwidth-threshold-high {
4162              type uint32 {4267              type uint32 {
4163                range "1..4294967295" {4268                range "1..4294967295" {
4164                  description4269                  description
4165                    "Optional High threshold of effective bandwidth (in kbps) to exit graceful-maintenance";4270                    "Optional High threshold of effective bandwidth (in kbps) to exit graceful-maintenance";
4166                }4271                }
4167              }4272              }
4168              must "../bandwidth-threshold";4273              must "../bandwidth-threshold";
4169              description4274              description
4170                "Optional High threshold of effective bandwidth (in kbps) to exit graceful-maintenance";4275                "Optional High threshold of effective bandwidth (in kbps) to exit graceful-maintenance";
4171            }4276            }
4172            leaf percentage-threshold {4277            leaf percentage-threshold {
4173              type uint32 {4278              type uint32 {
4174                range "1..100" {4279                range "1..100" {
4175                  description4280                  description
4176                    "Low threshold of effective bandwidth (in percentage of max bandwidth) to enter/exit graceful-maintenance";4281                    "Low threshold of effective bandwidth (in percentage of max bandwidth) to enter/exit graceful-maintenance";
4177                }4282                }
4178              }4283              }
4179              must "not(../bandwidth-threshold)";4284              must "not(../bandwidth-threshold)";
4180              description4285              description
4181                "Threshold in Percentage of Effective Bandwidth over Maximum Bandwidth";4286                "Threshold in Percentage of Effective Bandwidth over Maximum Bandwidth";
4182            }4287            }
4183            leaf percentage-threshold-high {4288            leaf percentage-threshold-high {
4184              type uint32 {4289              type uint32 {
4185                range "1..100" {4290                range "1..100" {
4186                  description4291                  description
4187                    "Optional High threshold of effective bandwidth (in percentage of max bandwidth) to exit graceful-maintenance";4292                    "Optional High threshold of effective bandwidth (in percentage of max bandwidth) to exit graceful-maintenance";
4188                }4293                }
4189              }4294              }
4190              must "../percentage-threshold";4295              must "../percentage-threshold";
4191              description4296              description
4192                "Optional High threshold of effective bandwidth (in percentage of max bandwidth) to exit graceful-maintenance";4297                "Optional High threshold of effective bandwidth (in percentage of max bandwidth) to exit graceful-maintenance";
4193            }4298            }
4194            container inheritance-disable {4299            container inheritance-disable {
4195              presence "Indicates a inheritance-disable node is configured.";4300              presence "Indicates a inheritance-disable node is configured.";
4196              description4301              description
4197                "Prevent bandwidth-aware from being inherited from the parent";4302                "Prevent bandwidth-aware from being inherited from the parent";
4198            }4303            }
4199          }4304          }
4200        }4305        }
4201        leaf remote-as {4306        leaf remote-as {
4202          type xr:Bgp-as-number;4307          type xr:Bgp-as-number;
4203          description4308          description
4204            "bgp as-number";4309            "bgp as-number";
4205        }4310        }
4206        leaf remote-as-list {4311        leaf remote-as-list {
4207          type string {4312          type string {
4208            length "1..1024" {4313            length "1..1024" {
4209              description4314              description
4210                "as-list name";4315                "as-list name";
4211            }4316            }
4212          }4317          }
4213          description4318          description
4214            "Remote as-list configuration";4319            "Remote as-list configuration";
4215        }4320        }
4216        container use {4321        container use {
4217          description4322          description
4218            "Inherit configuration from a group";4323            "Inherit configuration from a group";
4219          leaf session-group {4324          leaf session-group {
4220            type string {4325            type string {
4221              length "1..1024" {4326              length "1..1024" {
4222                description4327                description
4223                  "Session group name";4328                  "Session group name";
4224              }4329              }
4225            }4330            }
4226            description4331            description
4227              "Inherit address-family independent config from a session-group";4332              "Inherit address-family independent config from a session-group";
4228          }4333          }
4229          leaf neighbor-group {4334          leaf neighbor-group {
4230            type string {4335            type string {
4231              length "1..1024" {4336              length "1..1024" {
4232                description4337                description
4233                  "Neighbor-group name";4338                  "Neighbor-group name";
4234              }4339              }
4235            }4340            }
4236            description4341            description
4237              "Inherit configuration from a neighbor-group";4342              "Inherit configuration from a neighbor-group";
4238          }4343          }
4239        }4344        }
4240        container advertisement-interval {4345        container advertisement-interval {
4241          presence "Indicates a advertisement-interval node is configured.";4346          presence "Indicates a advertisement-interval node is configured.";
4242          description4347          description
4243            "Minimum interval between sending BGP routing updates";4348            "Minimum interval between sending BGP routing updates";
4244          leaf time-in-seconds {4349          leaf time-in-seconds {
4245            type uint32 {4350            type uint32 {
4246              range "0..600" {4351              range "0..600" {
4247                description4352                description
4248                  "time in seconds";4353                  "time in seconds";
4249              }4354              }
4250            }4355            }
4251            mandatory true;4356            mandatory true;
4252            description4357            description
4253              "Minimum interval between sending BGP routing updates";4358              "Minimum interval between sending BGP routing updates";
4254          }4359          }
4255          leaf time-in-milliseconds {4360          leaf time-in-milliseconds {
4256            type uint32 {4361            type uint32 {
4257              range "0..999" {4362              range "0..999" {
4258                description4363                description
4259                  "time in milliseconds";4364                  "time in milliseconds";
4260              }4365              }
4261            }4366            }
4262            description4367            description
4263              "time in milliseconds";4368              "time in milliseconds";
4264          }4369          }
4265        }4370        }
4266        leaf description {4371        leaf description {
4267          type string {4372          type string {
4268            length "1..1024" {4373            length "1..1024" {
4269              description4374              description
4270                "Up to 256 characters describing this neighbor";4375                "Up to 256 characters describing this neighbor";
4271            }4376            }
4272          }4377          }
4273          description4378          description
4274            "Neighbor specific description";4379            "Neighbor specific description";
4275        }4380        }
4276        container ignore-connected-check {4381        container ignore-connected-check {
4277          presence "Indicates a ignore-connected-check node is configured.";4382          presence "Indicates a ignore-connected-check node is configured.";
4278          description4383          description
4279            "Bypass the directly connected nexthop check for single-hop eBGP peering";4384            "Bypass the directly connected nexthop check for single-hop eBGP peering";
4280          container inheritance-disable {4385          container inheritance-disable {
4281            presence "Indicates a inheritance-disable node is configured.";4386            presence "Indicates a inheritance-disable node is configured.";
4282            description4387            description
4283              "Prevent ignore-connected-check from being inherited from the parent";4388              "Prevent ignore-connected-check from being inherited from the parent";
4284          }4389          }
4285        }4390        }
4286        container ebgp-multihop {4391        container ebgp-multihop {
4287          presence "Indicates a ebgp-multihop node is configured.";4392          presence "Indicates a ebgp-multihop node is configured.";
4288          description4393          description
4289            "Allow EBGP neighbors not on directly connected networks";4394            "Allow EBGP neighbors not on directly connected networks";
4290          leaf maximum-hop-count {4395          leaf maximum-hop-count {
4291            type uint32 {4396            type uint32 {
4292              range "1..255" {4397              range "1..255" {
4293                description4398                description
4294                  "maximum hop count";4399                  "maximum hop count";
4295              }4400              }
4296            }4401            }
4297            mandatory true;4402            mandatory true;
4298            description4403            description
4299              "maximum hop count";4404              "maximum hop count";
4300          }4405          }
4301          container mpls {4406          container mpls {
4302            presence "Indicates a mpls node is configured.";4407            presence "Indicates a mpls node is configured.";
4303            description4408            description
4304              "Disable BGP MPLS forwarding";4409              "Disable BGP MPLS forwarding";
4305          }4410          }
4306        }4411        }
4307        container tcp {4412        container tcp {
4308          description4413          description
4309            "TCP session configuration commands";4414            "TCP session configuration commands";
4310          container mss {4415          container mss {
4311            must "initial-mss or inheritance-disable";4416            must "initial-mss or inheritance-disable";
4312            presence "Indicates a mss node is configured.";4417            presence "Indicates a mss node is configured.";
4313            description4418            description
4314              "Maximum Segment Size";4419              "Maximum Segment Size";
4315            leaf initial-mss {4420            leaf initial-mss {
4316              type uint32 {4421              type uint32 {
4317                range "68..10000" {4422                range "68..10000" {
4318                  description4423                  description
4319                    "TCP initial maximum segment size";4424                    "TCP initial maximum segment size";
4320                }4425                }
4321              }4426              }
4322              description4427              description
4323                "TCP initial maximum segment size";4428                "TCP initial maximum segment size";
4324            }4429            }
4325            container inheritance-disable {4430            container inheritance-disable {
4326              presence "Indicates a inheritance-disable node is configured.";4431              presence "Indicates a inheritance-disable node is configured.";
4327              description4432              description
4328                "Prevent tcp mss from being inherited from the parent";4433                "Prevent tcp mss from being inherited from the parent";
4329            }4434            }
4330          }4435          }
4331          container mtu-discovery {4436          container mtu-discovery {
4332            presence "Indicates a mtu-discovery node is configured.";4437            presence "Indicates a mtu-discovery node is configured.";
4333            description4438            description
4334              "Enable Path MTU discovery on TCP session";4439              "Enable Path MTU discovery on TCP session";
4335            container inheritance-disable {4440            container inheritance-disable {
4336              presence "Indicates a inheritance-disable node is configured.";4441              presence "Indicates a inheritance-disable node is configured.";
4337              description4442              description
4338                "Prevent TCP MTU cfg from being inherited from the parent";4443                "Prevent TCP MTU cfg from being inherited from the parent";
4339            }4444            }
4340          }4445          }
4341          container ip-only-preferred {4446          container ip-only-preferred {
4342            presence "Indicates an ip-only-preferred node is configured.";4447            presence "Indicates an ip-only-preferred node is configured.";
4343            description4448            description
4344              "Prefer to send BGP control plane traffic on IP";4449              "Prefer to send BGP control plane traffic on IP";
4345            container inheritance-disable {4450            container inheritance-disable {
4346              presence "Indicates an inheritance-disable node is configured.";4451              presence "Indicates an inheritance-disable node is configured.";
4347              description4452              description
4348                "Do not inherit this configuration from parent group";4453                "Do not inherit this configuration from parent group";
4349            }4454            }
4350          }4455          }
4351        }4456        }
4352        container bmp-activate {4457        container bmp-activate {
4353          description4458          description
4354            "Enable BMP logging for this neighbor";4459            "Enable BMP logging for this neighbor";
4355          container servers {4460          container servers {
4356            description4461            description
4357              "Enable BMP connection to particular server";4462              "Enable BMP connection to particular server";
4358            list server {4463            list server {
4359              key "server-id";4464              key "server-id";
4360              description4465              description
4361                "Enable BMP connection to particular server";4466                "Enable BMP connection to particular server";
4362              leaf server-id {4467              leaf server-id {
4363                type uint32 {4468                type uint32 {
4364                  range "1..8" {4469                  range "1..8" {
4365                    description4470                    description
4366                      "Enable BMP connection to particular server";4471                      "Enable BMP connection to particular server";
4367                  }4472                  }
4368                }4473                }
4369                description4474                description
4370                  "Enable BMP connection to particular server";4475                  "Enable BMP connection to particular server";
4371              }4476              }
4372            }4477            }
4373          }4478          }
4374        }4479        }
4375        container bfd {4480        container bfd {
4376          description4481          description
4377            "Configure BFD parameters";4482            "Configure BFD parameters";
4378          container fast-detect {4483          container fast-detect {
4379            must "not(strict-mode and inheritance-disable)";4484            must "not(strict-mode and inheritance-disable)";
4380            presence "Indicates a fast-detect node is configured.";4485            presence "Indicates a fast-detect node is configured.";
4381            description4486            description
4382              "Enable Fast detection";4487              "Enable Fast detection";
4383            container strict-mode {4488            container strict-mode {
4384              presence "Indicates a strict-mode node is configured.";4489              presence "Indicates a strict-mode node is configured.";
4385              description4490              description
4386                "Hold down neighbor session until BFD session is up";4491                "Hold down neighbor session until BFD session is up";
4387            }4492            }
4388            container inheritance-disable {4493            container inheritance-disable {
4389              presence "Indicates a disable node is configured.";4494              presence "Indicates a disable node is configured.";
4390              description4495              description
4391                "Prevent bfd settings from being inherited from the parent";4496                "Prevent bfd settings from being inherited from the parent";
4392            }4497            }
4393          }4498          }
4394          leaf minimum-interval {4499          leaf minimum-interval {
4395            type uint32 {4500            type uint32 {
4396              range "3..30000" {4501              range "3..30000" {
4397                description4502                description
4398                  "hello interval in milli-seconds";4503                  "hello interval in milli-seconds";
4399              }4504              }
4400            }4505            }
4401            description4506            description
4402              "Hello interval";4507              "Hello interval";
4403          }4508          }
4404          leaf multiplier {4509          leaf multiplier {
4405            type uint32 {4510            type uint32 {
4406              range "2..16" {4511              range "2..16" {
4407                description4512                description
4408                  "Detect multiplier";4513                  "Detect multiplier";
4409              }4514              }
4410            }4515            }
4411            description4516            description
4412              "Detect multiplier";4517              "Detect multiplier";
4413          }4518          }
4414        }4519        }
4415        container keychain {4520        container keychain {
4416          must "name or inheritance-disable";4521          must "name or inheritance-disable";
4417          presence "Indicates a keychain node is configured.";4522          presence "Indicates a keychain node is configured.";
4418          description4523          description
4419            "Set keychain based authentication";4524            "Set keychain based authentication";
4420          leaf name {4525          leaf name {
4421            type string {4526            type string {
4422              length "1..32" {4527              length "1..32" {
4423                description4528                description
4424                  "Name of the key chain - maximum 32 characters";4529                  "Name of the key chain - maximum 32 characters";
4425              }4530              }
4426            }4531            }
4427            description4532            description
4428              "Name of the key chain - maximum 32 characters";4533              "Name of the key chain - maximum 32 characters";
4429          }4534          }
4430          container inheritance-disable {4535          container inheritance-disable {
4431            presence "Indicates a inheritance-disable node is configured.";4536            presence "Indicates a inheritance-disable node is configured.";
4432            description4537            description
4433              "Prevent keychain from being inherited from parent";4538              "Prevent keychain from being inherited from parent";
4434          }4539          }
4435        }4540        }
4436        container local-as {4541        container local-as {
4437          must "as-number or inheritance-disable";4542          must "as-number or inheritance-disable";
4438          presence "Indicates a local-as node is configured.";4543          presence "Indicates a local-as node is configured.";
4439          description4544          description
4440            "Specify local AS number";4545            "Specify local AS number";
4441          leaf as-number {4546          leaf as-number {
4442            type xr:Bgp-as-number;4547            type xr:Bgp-as-number;
4443            description4548            description
4444              "bgp as-number";4549              "bgp as-number";
4445          }4550          }
4446          container no-prepend {4551          container no-prepend {
4447            presence "Indicates a no-prepend node is configured.";4552            presence "Indicates a no-prepend node is configured.";
4448            description4553            description
4449              "Do not prepend local AS to announcements from this neighbor";4554              "Do not prepend local AS to announcements from this neighbor";
4450            container replace-as {4555            container replace-as {
4451              presence "Indicates a replace-as node is configured.";4556              presence "Indicates a replace-as node is configured.";
4452              description4557              description
4453                "Prepend only local AS to announcements to this neighbor";4558                "Prepend only local AS to announcements to this neighbor";
4454              container dual-as {4559              container dual-as {
4455                presence "Indicates a dual-as node is configured.";4560                presence "Indicates a dual-as node is configured.";
4456                description4561                description
4457                  "Dual-AS mode";4562                  "Dual-AS mode";
4458              }4563              }
4459            }4564            }
4460          }4565          }
4461          container inheritance-disable {4566          container inheritance-disable {
4462            presence "Indicates a inheritance-disable node is configured.";4567            presence "Indicates a inheritance-disable node is configured.";
4463            description4568            description
4464              "Prevent local AS from being inherited from parent";4569              "Prevent local AS from being inherited from parent";
4465          }4570          }
4466        }4571        }
4467        container password {4572        container password {
4468          must "encrypted or inheritance-disable";4573          must "encrypted or inheritance-disable";
4469          presence "Indicates a password node is configured.";4574          presence "Indicates a password node is configured.";
4470          description4575          description
4471            "Set a password";4576            "Set a password";
4472          leaf encrypted {4577          leaf encrypted {
4473            type xr:Proprietary-password;4578            type xr:Proprietary-password;
4474            description4579            description
4475              "Specifies an ENCRYPTED password will follow";4580              "Specifies an ENCRYPTED password will follow";
4476          }4581          }
4477          container inheritance-disable {4582          container inheritance-disable {
4478            presence "Indicates a inheritance-disable node is configured.";4583            presence "Indicates a inheritance-disable node is configured.";
4479            description4584            description
4480              "Prevent password from being inherited from parent";4585              "Prevent password from being inherited from parent";
4481          }4586          }
4482        }4587        }
4483        container receive-buffer-size {4588        container receive-buffer-size {
4484          presence "Indicates a receive-buffer-size node is configured.";4589          presence "Indicates a receive-buffer-size node is configured.";
4485          description4590          description
4486            "Set socket and BGP receive buffer size";4591            "Set socket and BGP receive buffer size";
4487          leaf receive-socket-buffer-size {4592          leaf receive-socket-buffer-size {
4488            type uint32 {4593            type uint32 {
4489              range "512..131072" {4594              range "512..131072" {
4490                description4595                description
4491                  "Receive socket buffer size in bytes";4596                  "Receive socket buffer size in bytes";
4492              }4597              }
4493            }4598            }
4494            mandatory true;4599            mandatory true;
4495            description4600            description
4496              "Set socket and BGP receive buffer size";4601              "Set socket and BGP receive buffer size";
4497          }4602          }
4498          leaf bgp-read-buffer-size {4603          leaf bgp-read-buffer-size {
4499            type uint32 {4604            type uint32 {
4500              range "512..131072" {4605              range "512..131072" {
4501                description4606                description
4502                  "BGP Read buffer size in bytes";4607                  "BGP Read buffer size in bytes";
4503              }4608              }
4504            }4609            }
4505            description4610            description
4506              "BGP Read buffer size in bytes";4611              "BGP Read buffer size in bytes";
4507          }4612          }
4508        }4613        }
4509        container send-buffer-size {4614        container send-buffer-size {
4510          presence "Indicates a send-buffer-size node is configured.";4615          presence "Indicates a send-buffer-size node is configured.";
4511          description4616          description
4512            "Set socket and BGP send buffer size";4617            "Set socket and BGP send buffer size";
4513          leaf send-socket-buffer-size {4618          leaf send-socket-buffer-size {
4514            type uint32 {4619            type uint32 {
4515              range "4096..131072" {4620              range "4096..131072" {
4516                description4621                description
4517                  "Send socket buffer size in bytes";4622                  "Send socket buffer size in bytes";
4518              }4623              }
4519            }4624            }
4520            mandatory true;4625            mandatory true;
4521            description4626            description
4522              "Set socket and BGP send buffer size";4627              "Set socket and BGP send buffer size";
4523          }4628          }
4524          leaf bgp-write-buffer-size {4629          leaf bgp-write-buffer-size {
4525            type uint32 {4630            type uint32 {
4526              range "4096..131072" {4631              range "4096..131072" {
4527                description4632                description
4528                  "BGP Write buffer size in bytes";4633                  "BGP Write buffer size in bytes";
4529              }4634              }
4530            }4635            }
4531            description4636            description
4532              "BGP Write buffer size in bytes";4637              "BGP Write buffer size in bytes";
4533          }4638          }
4534        }4639        }
4535        container shutdown {4640        container shutdown {
4536          presence "Indicates a shutdown node is configured.";4641          presence "Indicates a shutdown node is configured.";
4537          description4642          description
4538            "Administratively shut down this neighbor";4643            "Administratively shut down this neighbor";
4539          container inheritance-disable {4644          container inheritance-disable {
4540            presence "Indicates a inheritance-disable node is configured.";4645            presence "Indicates a inheritance-disable node is configured.";
4541            description4646            description
4542              "Prevent this neighbor being shutdown, even if its parent is";4647              "Prevent this neighbor being shutdown, even if its parent is";
4543          }4648          }
4544        }4649        }
4545        container fast-fallover {4650        container fast-fallover {
4546          presence "Indicates a fast-fallover node is configured.";4651          presence "Indicates a fast-fallover node is configured.";
4547          description4652          description
4548            "Force neighbor to be directly connected. Bring neighbor down if its interface goes down";4653            "Force neighbor to be directly connected. Bring neighbor down if its interface goes down";
4549          container inheritance-disable {4654          container inheritance-disable {
4550            presence "Indicates a inheritance-disable node is configured.";4655            presence "Indicates a inheritance-disable node is configured.";
4551            description4656            description
4552              "Prevent this neighbor from inheriting this config from a group it is in";4657              "Prevent this neighbor from inheriting this config from a group it is in";
4553          }4658          }
4554        }4659        }
4555        container timers {4660        container timers {
4556          presence "Indicates a timers node is configured.";4661          presence "Indicates a timers node is configured.";
4557          description4662          description
4558            "BGP per neighbor timers";4663            "BGP per neighbor timers";
4559          leaf keepalive-interval {4664          leaf keepalive-interval {
4560            type uint32 {4665            type uint32 {
4561              range "0..65535" {4666              range "0..65535" {
4562                description4667                description
4563                  "Keepalive interval";4668                  "Keepalive interval";
4564              }4669              }
4565            }4670            }
4566            mandatory true;4671            mandatory true;
4567            description4672            description
4568              "BGP timers";4673              "BGP timers";
4569          }4674          }
4570          leaf holdtime {4675          leaf holdtime {
4571            type union {4676            type union {
4572              type uint32 {4677              type uint32 {
4573                range "0" {4678                range "0" {
4574                  description4679                  description
4575                    "0 to disable keepalives/hold time.";4680                    "0 to disable keepalives/hold time.";
4576                }4681                }
4577              }4682              }
4578              type uint32 {4683              type uint32 {
4579                range "3..65535" {4684                range "3..65535" {
4580                  description4685                  description
4581                    "Holdtime.";4686                    "Holdtime.";
4582                }4687                }
4583              }4688              }
4584            }4689            }
4585            mandatory true;4690            mandatory true;
4586            description4691            description
4587              "Holdtime. Set 0 to disable keepalives/hold time.";4692              "Holdtime. Set 0 to disable keepalives/hold time.";
4588          }4693          }
4589          leaf minimum-acceptable-holdtime {4694          leaf minimum-acceptable-holdtime {
4590            type union {4695            type union {
4591              type uint32 {4696              type uint32 {
4592                range "0" {4697                range "0" {
4593                  description4698                  description
4594                    "0 to disable keepalives/hold time.";4699                    "0 to disable keepalives/hold time.";
4595                }4700                }
4596              }4701              }
4597              type uint32 {4702              type uint32 {
4598                range "3..65535" {4703                range "3..65535" {
4599                  description4704                  description
4600                    "Minimum acceptable holdtime from neighbor.";4705                    "Minimum acceptable holdtime from neighbor.";
4601                }4706                }
4602              }4707              }
4603            }4708            }
4604            description4709            description
4605              "Minimum acceptable holdtime from neighbor. Set 0 to disable keepalives/hold time.";4710              "Minimum acceptable holdtime from neighbor. Set 0 to disable keepalives/hold time.";
4606          }4711          }
4607        }4712        }
4608        container local {4713        container local {
4609          description4714          description
4610            "Configure local parameter";4715            "Configure local parameter";
4611          container address {4716          container address {
4612            must "ip-address or inheritance-disable";4717            must "ip-address or inheritance-disable";
4613            presence "Indicates a address node is configured.";4718            presence "Indicates a address node is configured.";
4614            description4719            description
4615              "use configured local address for bgp peering";4720              "use configured local address for bgp peering";
4616            leaf ip-address {4721            leaf ip-address {
4617              type inet:ip-address-no-zone;4722              type inet:ip-address-no-zone;
4618              description4723              description
4619                "IPv4 address";4724                "IPv4 address";
4620            }4725            }
4621            container inheritance-disable {4726            container inheritance-disable {
4622              presence "Indicates a inheritance-disable node is configured.";4727              presence "Indicates a inheritance-disable node is configured.";
4623              description4728              description
4624                "Prevent local address from being inherited from parent";4729                "Prevent local address from being inherited from parent";
4625            }4730            }
4626          }4731          }
4627        }4732        }
4628        container log {4733        container log {
4629          description4734          description
4630            "Logging update messages per neighbor";4735            "Logging update messages per neighbor";
4631          container message {4736          container message {
4632            description4737            description
4633              "Logging update/notification messages per neighbor";4738              "Logging update/notification messages per neighbor";
4634            container in {4739            container in {
4635              description4740              description
4636                "Inbound log messages";4741                "Inbound log messages";
4637              leaf message-log-buffer-size {4742              leaf message-log-buffer-size {
4638                type uint32 {4743                type uint32 {
4639                  range "1..500" {4744                  range "1..500" {
4640                    description4745                    description
4641                      "Range for message log buffer size";4746                      "Range for message log buffer size";
4642                  }4747                  }
4643                }4748                }
4644                description4749                description
4645                  "Range for message log buffer size";4750                  "Range for message log buffer size";
4646              }4751              }
4647              container disable {4752              container disable {
4648                presence "Indicates a disable node is configured.";4753                presence "Indicates a disable node is configured.";
4649                description4754                description
4650                  "Disable inbound message logging";4755                  "Disable inbound message logging";
4651              }4756              }
4652              container inheritance-diable {4757              container inheritance-diable {
4653                presence "Indicates a inheritance-diable node is configured.";4758                presence "Indicates a inheritance-diable node is configured.";
4654                description4759                description
4655                  "Prevents the msg log from being inherited from the parent";4760                  "Prevents the msg log from being inherited from the parent";
4656              }4761              }
4657            }4762            }
4658            container out {4763            container out {
4659              description4764              description
4660                "Outbound log messages";4765                "Outbound log messages";
4661              leaf message-log-buffer-size {4766              leaf message-log-buffer-size {
4662                type uint32 {4767                type uint32 {
4663                  range "1..500" {4768                  range "1..500" {
4664                    description4769                    description
4665                      "Range for message log buffer size";4770                      "Range for message log buffer size";
4666                  }4771                  }
4667                }4772                }
4668                description4773                description
4669                  "Range for message log buffer size";4774                  "Range for message log buffer size";
4670              }4775              }
4671              container disable {4776              container disable {
4672                presence "Indicates a disable node is configured.";4777                presence "Indicates a disable node is configured.";
4673                description4778                description
4674                  "Disable outbound message logging";4779                  "Disable outbound message logging";
4675              }4780              }
4676              container inheritance-diable {4781              container inheritance-diable {
4677                presence "Indicates a inheritance-diable node is configured.";4782                presence "Indicates a inheritance-diable node is configured.";
4678                description4783                description
4679                  "Prevents the msg log from being inherited from the parent";4784                  "Prevents the msg log from being inherited from the parent";
4680              }4785              }
4681            }4786            }
4682          }4787          }
4683          container neighbor {4788          container neighbor {
4684            description4789            description
4685              "Log neighbor state info";4790              "Log neighbor state info";
4686            container changes {4791            container changes {
4687              description4792              description
4688                "Log neighbor state changes";4793                "Log neighbor state changes";
4689              container detail {4794              container detail {
4690                must "not(../disable or ../inheritance-disable)";4795                must "not(../disable or ../inheritance-disable)";
4691                presence "Indicates a detail node is configured.";4796                presence "Indicates a detail node is configured.";
4692                description4797                description
4693                  "detail";4798                  "detail";
4694              }4799              }
4695              container disable {4800              container disable {
4696                must "not(../detail or ../inheritance-disable)";4801                must "not(../detail or ../inheritance-disable)";
4697                presence "Indicates a disable node is configured.";4802                presence "Indicates a disable node is configured.";
4698                description4803                description
4699                  "disable";4804                  "disable";
4700              }4805              }
4701              container inheritance-disable {4806              container inheritance-disable {
4702                must "not(../detail or ../disable)";4807                must "not(../detail or ../disable)";
4703                presence "Indicates a inheritance-disable node is configured.";4808                presence "Indicates a inheritance-disable node is configured.";
4704                description4809                description
4705                  "Prevents the log state changes from being inherited from the parent";4810                  "Prevents the log state changes from being inherited from the parent";
4706              }4811              }
4707            }4812            }
4708          }4813          }
4709        }4814        }
4710        leaf update-source {4815        leaf update-source {
4711          type xr:Interface-name;4816          type xr:Interface-name;
4712          description4817          description
4713            "Source of routing updates";4818            "Source of routing updates";
4714        }4819        }
4715        container local-address-subnet {4820        container local-address-subnet {
4716          description4821          description
4717            "Local address subnet of routing updates";4822            "Local address subnet of routing updates";
4718          leaf ip-address {4823          leaf ip-address {
4719            type inet:ip-address-no-zone;4824            type inet:ip-address-no-zone;
4720            description4825            description
4721              "IP address and mask length";4826              "IP address and mask length";
4722          }4827          }
4723          leaf mask-length {4828          leaf mask-length {
4724            type uint32 {4829            type uint32 {
4725              range "0..128" {4830              range "0..128" {
4726                description4831                description
4727                  "IP address mask length";4832                  "IP address mask length";
4728              }4833              }
4729            }4834            }
4730            description4835            description
4731              "IP address and mask length";4836              "IP address and mask length";
4732          }4837          }
4733        }4838        }
4734        container dmz-link-bandwidth {4839        container dmz-link-bandwidth {
4735          presence "Indicates a dmz-link-bandwidth node is configured.";4840          presence "Indicates a dmz-link-bandwidth node is configured.";
4736          description4841          description
4737            "Propagate the DMZ link bandwidth";4842            "Propagate the DMZ link bandwidth";
4738          container inheritance-disable {4843          container inheritance-disable {
4739            presence "Indicates a inheritance-disable node is configured.";4844            presence "Indicates a inheritance-disable node is configured.";
4740            description4845            description
4741              "Prevent dmz-link-bandwidth from being inherited from the parent";4846              "Prevent dmz-link-bandwidth from being inherited from the parent";
4742          }4847          }
4743        }4848        }
4744        container ebgp-recv-extcommunity-dmz {4849        container ebgp-recv-extcommunity-dmz {
4745          presence "Indicates a ebgp-recv-extcommunity-dmz node is configured.";4850          presence "Indicates a ebgp-recv-extcommunity-dmz node is configured.";
4746          description4851          description
4747            "Receive extcommunity dmz link bandwidth from ebgp neighbor";4852            "Receive extcommunity dmz link bandwidth from ebgp neighbor";
4748          container inheritance-disable {4853          container inheritance-disable {
4749            presence "Indicates a inheritance-disable node is configured.";4854            presence "Indicates a inheritance-disable node is configured.";
4750            description4855            description
4751              "Prevent ebgp-send-community-dmz from being inherited from parent";4856              "Prevent ebgp-send-community-dmz from being inherited from parent";
4752          }4857          }
4753        }4858        }
4754        container ebgp-send-extcommunity-dmz {4859        container ebgp-send-extcommunity-dmz {
4755          must "not(cumulative and inheritance-disable)";4860          must "not(cumulative and inheritance-disable)";
4756          presence "Indicates a ebgp-send-extcommunity-dmz node is configured.";4861          presence "Indicates a ebgp-send-extcommunity-dmz node is configured.";
4757          description4862          description
4758            "Send extended community dmz link bandwidth to ebgp neighbor";4863            "Send extended community dmz link bandwidth to ebgp neighbor";
4759          container cumulative {4864          container cumulative {
4760            presence "Indicates a cumulative node is configured.";4865            presence "Indicates a cumulative node is configured.";
4761            description4866            description
4762              "Send cumulative community dmz link bandwidth of all multipaths to ebgp neighbor";4867              "Send cumulative community dmz link bandwidth of all multipaths to ebgp neighbor";
4763          }4868          }
4764          container inheritance-disable {4869          container inheritance-disable {
4765            presence "Indicates a inheritance-disable node is configured.";4870            presence "Indicates a inheritance-disable node is configured.";
4766            description4871            description
4767              "Prevent ebgp-send-extcommunity-dmz from being inherited from parent";4872              "Prevent ebgp-send-extcommunity-dmz from being inherited from parent";
4768          }4873          }
4769        }4874        }
4770        container ttl-security {4875        container ttl-security {
4771          presence "Indicates a ttl-security node is configured.";4876          presence "Indicates a ttl-security node is configured.";
4772          description4877          description
4773            "Enable EBGP TTL security";4878            "Enable EBGP TTL security";
4774          container inheritance-disable {4879          container inheritance-disable {
4775            presence "Indicates a inheritance-disable node is configured.";4880            presence "Indicates a inheritance-disable node is configured.";
4776            description4881            description
4777              "Prevent ttl-security from being inherited from the parent";4882              "Prevent ttl-security from being inherited from the parent";
4778          }4883          }
4779        }4884        }
4780        container session-open-mode {4885        container session-open-mode {
4781          description4886          description
4782            "Establish BGP session using this TCP open mode";4887            "Establish BGP session using this TCP open mode";
4783          container active-only {4888          container active-only {
4784            must "not(../passive-only or ../both)";4889            must "not(../passive-only or ../both)";
4785            presence "Indicates a active-only node is configured.";4890            presence "Indicates a active-only node is configured.";
4786            description4891            description
4787              "Active only";4892              "Active only";
4788          }4893          }
4789          container passive-only {4894          container passive-only {
4790            must "not(../active-only or ../both)";4895            must "not(../active-only or ../both)";
4791            presence "Indicates a passive-only node is configured.";4896            presence "Indicates a passive-only node is configured.";
4792            description4897            description
4793              "Passive only";4898              "Passive only";
4794          }4899          }
4795          container both {4900          container both {
4796            must "not(../active-only or ../passive-only)";4901            must "not(../active-only or ../passive-only)";
4797            presence "Indicates a both node is configured.";4902            presence "Indicates a both node is configured.";
4798            description4903            description
4799              "Prevent session-open-mode being inherited from the parent";4904              "Prevent session-open-mode being inherited from the parent";
4800          }4905          }
4801        }4906        }
4802        leaf dscp {4907        leaf dscp {
4803          type enumeration {4908          type enumeration {
4804            enum "default" {4909            enum "default" {
4805              value 0;4910              value 0;
4806              description4911              description
4807                "Set packets with default dscp (000000)";4912                "Set packets with default dscp (000000)";
4808            }4913            }
4809            enum "cs1" {4914            enum "cs1" {
4810              value 8;4915              value 8;
4811              description4916              description
4812                "Set packets with CS1(precedence 1) dscp (001000)";4917                "Set packets with CS1(precedence 1) dscp (001000)";
4813            }4918            }
4814            enum "af11" {4919            enum "af11" {
4815              value 10;4920              value 10;
4816              description4921              description
4817                "Set packets with AF11 dscp (001010)";4922                "Set packets with AF11 dscp (001010)";
4818            }4923            }
4819            enum "af12" {4924            enum "af12" {
4820              value 12;4925              value 12;
4821              description4926              description
4822                "Set packets with AF12 dscp (001100)";4927                "Set packets with AF12 dscp (001100)";
4823            }4928            }
4824            enum "af13" {4929            enum "af13" {
4825              value 14;4930              value 14;
4826              description4931              description
4827                "Set packets with AF13 dscp (001110)";4932                "Set packets with AF13 dscp (001110)";
4828            }4933            }
4829            enum "cs2" {4934            enum "cs2" {
4830              value 16;4935              value 16;
4831              description4936              description
4832                "Set packets with CS2(precedence 2) dscp (010000)";4937                "Set packets with CS2(precedence 2) dscp (010000)";
4833            }4938            }
4834            enum "af21" {4939            enum "af21" {
4835              value 18;4940              value 18;
4836              description4941              description
4837                "Set packets with AF21 dscp (010010)";4942                "Set packets with AF21 dscp (010010)";
4838            }4943            }
4839            enum "af22" {4944            enum "af22" {
4840              value 20;4945              value 20;
4841              description4946              description
4842                "Set packets with AF22 dscp (010100)";4947                "Set packets with AF22 dscp (010100)";
4843            }4948            }
4844            enum "af23" {4949            enum "af23" {
4845              value 22;4950              value 22;
4846              description4951              description
4847                "Set packets with AF23 dscp (010110)";4952                "Set packets with AF23 dscp (010110)";
4848            }4953            }
4849            enum "cs3" {4954            enum "cs3" {
4850              value 24;4955              value 24;
4851              description4956              description
4852                "Set packets with CS3(precedence 3) dscp (011000)";4957                "Set packets with CS3(precedence 3) dscp (011000)";
4853            }4958            }
4854            enum "af31" {4959            enum "af31" {
4855              value 26;4960              value 26;
4856              description4961              description
4857                "Set packets with AF31 dscp (011010)";4962                "Set packets with AF31 dscp (011010)";
4858            }4963            }
4859            enum "af32" {4964            enum "af32" {
4860              value 28;4965              value 28;
4861              description4966              description
4862                "Set packets with AF32 dscp (011100)";4967                "Set packets with AF32 dscp (011100)";
4863            }4968            }
4864            enum "af33" {4969            enum "af33" {
4865              value 30;4970              value 30;
4866              description4971              description
4867                "Set packets with AF33 dscp (011110)";4972                "Set packets with AF33 dscp (011110)";
4868            }4973            }
4869            enum "cs4" {4974            enum "cs4" {
4870              value 32;4975              value 32;
4871              description4976              description
4872                "Set packets with CS4(precedence 4) dscp (100000)";4977                "Set packets with CS4(precedence 4) dscp (100000)";
4873            }4978            }
4874            enum "af41" {4979            enum "af41" {
4875              value 34;4980              value 34;
4876              description4981              description
4877                "Set packets with AF41 dscp (100010)";4982                "Set packets with AF41 dscp (100010)";
4878            }4983            }
4879            enum "af42" {4984            enum "af42" {
4880              value 36;4985              value 36;
4881              description4986              description
4882                "Set packets with AF42 dscp (100100)";4987                "Set packets with AF42 dscp (100100)";
4883            }4988            }
4884            enum "af43" {4989            enum "af43" {
4885              value 38;4990              value 38;
4886              description4991              description
4887                "Set packets with AF43 dscp (100110)";4992                "Set packets with AF43 dscp (100110)";
4888            }4993            }
4889            enum "cs5" {4994            enum "cs5" {
4890              value 40;4995              value 40;
4891              description4996              description
4892                "Set packets with CS5(precedence 5) dscp (101000)";4997                "Set packets with CS5(precedence 5) dscp (101000)";
4893            }4998            }
4894            enum "ef" {4999            enum "ef" {
4895              value 46;5000              value 46;
4896              description5001              description
4897                "Set packets with EF dscp (101110)";5002                "Set packets with EF dscp (101110)";
4898            }5003            }
4899            enum "cs6" {5004            enum "cs6" {
4900              value 48;5005              value 48;
4901              description5006              description
4902                "Set packets with CS6(precedence 6) dscp (110000)";5007                "Set packets with CS6(precedence 6) dscp (110000)";
4903            }5008            }
4904            enum "cs7" {5009            enum "cs7" {
4905              value 56;5010              value 56;
4906              description5011              description
4907                "Set packets with CS7(precedence 7) dscp (111000)";5012                "Set packets with CS7(precedence 7) dscp (111000)";
4908            }5013            }
4909          }5014          }
4910          description5015          description
4911            "Set IP DSCP (DiffServ CodePoint)";5016            "Set IP DSCP (DiffServ CodePoint)";
4912        }5017        }
4913        leaf precedence {5018        leaf precedence {
4914          type enumeration {5019          type enumeration {
4915            enum "routine" {5020            enum "routine" {
4916              value 0;5021              value 0;
4917              description5022              description
4918                "Set packets with routine precedence (0)";5023                "Set packets with routine precedence (0)";
4919            }5024            }
4920            enum "priority" {5025            enum "priority" {
4921              value 1;5026              value 1;
4922              description5027              description
4923                "Set packets with priority precedence (1)";5028                "Set packets with priority precedence (1)";
4924            }5029            }
4925            enum "immediate" {5030            enum "immediate" {
4926              value 2;5031              value 2;
4927              description5032              description
4928                "Set packets with immediate precedence (2)";5033                "Set packets with immediate precedence (2)";
4929            }5034            }
4930            enum "flash" {5035            enum "flash" {
4931              value 3;5036              value 3;
4932              description5037              description
4933                "Set packets with flash precedence (3)";5038                "Set packets with flash precedence (3)";
4934            }5039            }
4935            enum "flash-override" {5040            enum "flash-override" {
4936              value 4;5041              value 4;
4937              description5042              description
4938                "Set packets with flash override precedence (4)";5043                "Set packets with flash override precedence (4)";
4939            }5044            }
4940            enum "critical" {5045            enum "critical" {
4941              value 5;5046              value 5;
4942              description5047              description
4943                "Set packets with critical precedence (5)";5048                "Set packets with critical precedence (5)";
4944            }5049            }
4945            enum "internet" {5050            enum "internet" {
4946              value 6;5051              value 6;
4947              description5052              description
4948                "Set packets with internetwork control precedence (6)";5053                "Set packets with internetwork control precedence (6)";
4949            }5054            }
4950            enum "network" {5055            enum "network" {
4951              value 7;5056              value 7;
4952              description5057              description
4953                "Set packets with network control precedence (7)";5058                "Set packets with network control precedence (7)";
4954            }5059            }
4955          }5060          }
4956          description5061          description
4957            "Set precedence";5062            "Set precedence";
4958        }5063        }
4959        container capability {5064        container capability {
4960          description5065          description
4961            "Advertise capability to the peer";5066            "Advertise capability to the peer";
4962          container suppress {5067          container suppress {
4963            description5068            description
4964              "Suppress advertising capability to the peer ";5069              "Suppress advertising capability to the peer ";
4965            container four-byte-as {5070            container four-byte-as {
4966              presence "Indicates a four-byte-as node is configured.";5071              presence "Indicates a four-byte-as node is configured.";
4967              description5072              description
4968                "4-byte-as capability";5073                "4-byte-as capability";
4969              container inheritance-disable {5074              container inheritance-disable {
4970                presence "Indicates a inheritance-disable node is configured.";5075                presence "Indicates a inheritance-disable node is configured.";
4971                description5076                description
4972                  "Prevent capability suppress 4-type-as being inherited from the parent";5077                  "Prevent capability suppress 4-type-as being inherited from the parent";
4973              }5078              }
4974            }5079            }
4975            container all {5080            container all {
4976              presence "Indicates a all node is configured.";5081              presence "Indicates a all node is configured.";
4977              description5082              description
4978                "All capabilities";5083                "All capabilities";
4979              container inheritance-disable {5084              container inheritance-disable {
4980                presence "Indicates a inheritance-disable node is configured.";5085                presence "Indicates a inheritance-disable node is configured.";
4981                description5086                description
4982                  "Do not inherit this configuration from parent group";5087                  "Do not inherit this configuration from parent group";
4983              }5088              }
4984            }5089            }
4985            container extended-nexthop-encoding {5090            container extended-nexthop-encoding {
4986              presence "Indicates a extended-nexthop-encoding node is configured.";5091              presence "Indicates a extended-nexthop-encoding node is configured.";
4987              description5092              description
4988                "Extended-nexthop-encoding capabilities (IETF RFC 5549)";5093                "Extended-nexthop-encoding capabilities (IETF RFC 5549)";
4989              container inheritance-disable {5094              container inheritance-disable {
4990                presence "Indicates a inheritance-disable node is configured.";5095                presence "Indicates a inheritance-disable node is configured.";
4991                description5096                description
4992                  "Do not inherit this configuration from parent group";5097                  "Do not inherit this configuration from parent group";
4993              }5098              }
4994            }5099            }
4995          }5100          }
4996          container additional-paths {5101          container additional-paths {
4997            description5102            description
4998              "Additional paths capability";5103              "Additional paths capability";
4999            container send {5104            container send {
5000              presence "Indicates a send node is configured.";5105              presence "Indicates a send node is configured.";
5001              description5106              description
5002                "Additional paths Send capability";5107                "Additional paths Send capability";
5003              container disable {5108              container disable {
5004                presence "Indicates a disable node is configured.";5109                presence "Indicates a disable node is configured.";
5005                description5110                description
5006                  "Do not advertise additional paths Send capability";5111                  "Do not advertise additional paths Send capability";
5007              }5112              }
5008            }5113            }
5009            container receive {5114            container receive {
5010              presence "Indicates a receive node is configured.";5115              presence "Indicates a receive node is configured.";
5011              description5116              description
5012                "Additional paths Receive capability";5117                "Additional paths Receive capability";
5013              container disable {5118              container disable {
5014                presence "Indicates a disable node is configured.";5119                presence "Indicates a disable node is configured.";
5015                description5120                description
5016                  "Do not advertise additional paths Receive capability";5121                  "Do not advertise additional paths Receive capability";
5017              }5122              }
5018            }5123            }
5019          }5124          }
5020        }5125        }
5021        container graceful-restart {5126        container graceful-restart {
5022          presence "Indicates a graceful-restart node is configured.";5127          presence "Indicates a graceful-restart node is configured.";
5023          description5128          description
5024            "Enable graceful restart support for this neighbor";5129            "Enable graceful restart support for this neighbor";
5025          container disable {5130          container disable {
5026            presence "Indicates a disable node is configured.";5131            presence "Indicates a disable node is configured.";
5027            description5132            description
5028              "Disable graceful restart support for this neighbor";5133              "Disable graceful restart support for this neighbor";
5029          }5134          }
5030          leaf restart-time {5135          leaf restart-time {
5031            type uint32 {5136            type uint32 {
5032              range "1..4095" {5137              range "1..4095" {
5033                description5138                description
5034                  "Max time (seconds)";5139                  "Max time (seconds)";
5035              }5140              }
5036            }5141            }
5037            description5142            description
5038              "Restart time advertised to the neighbor";5143              "Restart time advertised to the neighbor";
5039          }5144          }
5040          leaf stalepath-time {5145          leaf stalepath-time {
5041            type uint32 {5146            type uint32 {
5042              range "1..4095" {5147              range "1..4095" {
5043                description5148                description
5044                  "Max time (seconds)";5149                  "Max time (seconds)";
5045              }5150              }
5046            }5151            }
5047            description5152            description
5048              "Maximum time to wait for restart of GR capable peer";5153              "Maximum time to wait for restart of GR capable peer";
5049          }5154          }
5050        }5155        }
5051        container enforce-first-as {5156        container enforce-first-as {
5052          presence "Indicates a enforce-first-as node is configured.";5157          presence "Indicates a enforce-first-as node is configured.";
5053          description5158          description
5054            "Enforce the first AS for EBGP routes";5159            "Enforce the first AS for EBGP routes";
5055          container disable {5160          container disable {
5056            presence "Indicates a disable node is configured.";5161            presence "Indicates a disable node is configured.";
5057            description5162            description
5058              "Do not enforce the first AS for EBGP routes";5163              "Do not enforce the first AS for EBGP routes";
5059          }5164          }
5060        }5165        }
5061        container cluster-id {5166        container cluster-id {
5062          description5167          description
5063            "Enter cluster id for this neighbor";5168            "Enter cluster id for this neighbor";
5064          leaf route-reflector-cluster-id {5169          leaf route-reflector-cluster-id {
5065            type uint32 {5170            type uint32 {
5066              range "1..4294967295" {5171              range "1..4294967295" {
5067                description5172                description
5068                  "Route-Reflector Cluster-id as 32 bit quantity";5173                  "Route-Reflector Cluster-id as 32 bit quantity";
5069              }5174              }
5070            }5175            }
5071            description5176            description
5072              "Route-Reflector Cluster-id as 32 bit quantity";5177              "Route-Reflector Cluster-id as 32 bit quantity";
5073          }5178          }
5074          leaf ip-address {5179          leaf ip-address {
5075            type inet:ipv4-address-no-zone;5180            type inet:ipv4-address-no-zone;
5076            description5181            description
5077              "Route-Reflector Cluster-id in IP address format";5182              "Route-Reflector Cluster-id in IP address format";
5078          }5183          }
5079        }5184        }
5080        leaf maximum-peers {5185        leaf maximum-peers {
5081          type uint32 {5186          type uint32 {
5082            range "1..4095" {5187            range "1..4095" {
5083              description5188              description
5084                "Maximum number of peers";5189                "Maximum number of peers";
5085            }5190            }
5086          }5191          }
5087          description5192          description
5088            "Maximum dynamic neighbors";5193            "Maximum dynamic neighbors";
5089        }5194        }
5090        leaf idle-watch-time {5195        leaf idle-watch-time {
5091          type uint32 {5196          type uint32 {
5092            range "30..1800" {5197            range "30..1800" {
5093              description5198              description
5094                "Max time (seconds)";5199                "Max time (seconds)";
5095            }5200            }
5096          }5201          }
5097          description5202          description
5098            "Maximum time to wait for deletion of IDLE state dynamic peer";5203            "Maximum time to wait for deletion of IDLE state dynamic peer";
5099        }5204        }
5100        container egress-engineering {5205        container egress-engineering {
5101          presence "Indicates a egress-engineering node is configured.";5206          presence "Indicates a egress-engineering node is configured.";
5102          description5207          description
5103            "Enable egress peer engineering for this neighbor";5208            "Enable egress peer engineering for this neighbor";
5104          container inheritance-disable {5209          container inheritance-disable {
5105            presence "Indicates a inheritance-disable node is configured.";5210            presence "Indicates a inheritance-disable node is configured.";
5106            description5211            description
5107              "Do not inherit egress-engineering from the parent";5212              "Do not inherit egress-engineering from the parent";
5108          }5213          }
5109        }5214        }
5110        container peer-sets {5215        container peer-sets {
5111          description5216          description
5112            "Assign this neighbor to a peer-set used for egress peer engineering";5217            "Assign this neighbor to a peer-set used for egress peer engineering";
5113          list peer-set {5218          list peer-set {
5114            key "peer-set-id";5219            key "peer-set-id";
5115            description5220            description
5116              "Assign this neighbor to a peer-set used for egress peer engineering";5221              "Assign this neighbor to a peer-set used for egress peer engineering";
5117            leaf peer-set-id {5222            leaf peer-set-id {
5118              type uint32 {5223              type uint32 {
5119                range "1..255" {5224                range "1..255" {
5120                  description5225                  description
5121                    "Identity value of peer-set";5226                    "Identity value of peer-set";
5122                }5227                }
5123              }5228              }
5124              description5229              description
5125                "Assign this neighbor to a peer-set used for egress peer engineering";5230                "Assign this neighbor to a peer-set used for egress peer engineering";
5126            }5231            }
5127          }5232          }
5128        }5233        }
5129        container peer-node-sid {5234        container peer-node-sid {
5130          description5235          description
5131            "Assign this neighbor a manual SID for egress peer engineering";5236            "Assign this neighbor a manual SID for egress peer engineering";
5132          leaf index {5237          leaf index {
5133            type uint32 {5238            type uint32 {
5134              range "0..1033575" {5239              range "0..1033575" {
5135                description5240                description
5136                  "Segment Index to be assigned to this peer. The index will be off SRLB5241                  "Segment Index to be assigned to this peer. The index will be off SRLB
5137                   Note: Thmaximum index configurable in dynaminc SRLB range.5242                   Note: Thmaximum index configurable in dynaminc SRLB range.
5138                   Since SRa dynamic range, actual maximum index can vary.5243                   Since SRa dynamic range, actual maximum index can vary.
5139                   So pleasthe currently configured SRLB range";5244                   So pleasthe currently configured SRLB range";
5140              }5245              }
5141            }5246            }
5142            description5247            description
5143              "Segment Index value which is offset of SRLB";5248              "Segment Index value which is offset of SRLB";
5144          }5249          }
5145        }5250        }
5146        container ao {5251        container ao {
5147          description5252          description
5148            "Enable Authentiation Option";5253            "Enable Authentiation Option";
5149          leaf key-chain-name {5254          leaf key-chain-name {
5150            type string {5255            type string {
5151              length "1..32" {5256              length "1..32" {
5152                description5257                description
5153                  "Name of the key chain - maximum 32 characters";5258                  "Name of the key chain - maximum 32 characters";
5154              }5259              }
5155            }5260            }
5156            must "not(../inheritance-disable) and (../include-tcp-options/enable or ../include-tcp-options/disable)";5261            must "not(../inheritance-disable) and (../include-tcp-options/enable or ../include-tcp-options/disable)";
5157            description5262            description
5158              "Name of the key chain - maximum 32 characters";5263              "Name of the key chain - maximum 32 characters";
5159          }5264          }
5160          container include-tcp-options {5265          container include-tcp-options {
5161            description5266            description
5162              "Include/Exclude other TCP options in the header";5267              "Include/Exclude other TCP options in the header";
5163            container enable {5268            container enable {
5164              must "not(../disable or ../../inheritance-disable)";5269              must "not(../disable or ../../inheritance-disable)";
5165              presence "Indicates a enable node is configured.";5270              presence "Indicates a enable node is configured.";
5166              description5271              description
5167                "Include other TCP options in the header";5272                "Include other TCP options in the header";
5168            }5273            }
5169            container disable {5274            container disable {
5170              must "not(../enable or ../../inheritance-disable)";5275              must "not(../enable or ../../inheritance-disable)";
5171              presence "Indicates a disable node is configured.";5276              presence "Indicates a disable node is configured.";
5172              description5277              description
5173                "Exclude other TCP options in the header";5278                "Exclude other TCP options in the header";
5174            }5279            }
5175            container accept-ao-mismatch-connection {5280            container accept-ao-mismatch-connection {
5176              must "../enable or ../disable";5281              must "../enable or ../disable";
5177              presence "Indicates a accept-ao-mismatch-connection node is configured.";5282              presence "Indicates a accept-ao-mismatch-connection node is configured.";
5178              description5283              description
5179                "Accept new connection even if AO mismatched";5284                "Accept new connection even if AO mismatched";
5180            }5285            }
5181          }5286          }
5182          container inheritance-disable {5287          container inheritance-disable {
5183            must "not(../key-chain-name)";5288            must "not(../key-chain-name)";
5184            presence "Indicates a inheritance-disable node is configured.";5289            presence "Indicates a inheritance-disable node is configured.";
5185            description5290            description
5186              "Prevent keychain from being inherited from parent";5291              "Prevent keychain from being inherited from parent";
5187          }5292          }
5188        }5293        }
5189        container origin-as {5294        container origin-as {
5190          description5295          description
5191            "BGP origin-AS knobs";5296            "BGP origin-AS knobs";
5192          container validation {5297          container validation {
5193            description5298            description
5194              "BGP origin-AS validation knobs";5299              "BGP origin-AS validation knobs";
5195            container disable {5300            container disable {
5196              presence "Indicates a disable node is configured.";5301              presence "Indicates a disable node is configured.";
5197              description5302              description
5198                "Disable RPKI origin-AS validation";5303                "Disable RPKI origin-AS validation";
5199            }5304            }
5200          }5305          }
5201        }5306        }
5202        container bestpath {5307        container bestpath {
5203          description5308          description
5204            "Change default route selection criteria";5309            "Change default route selection criteria";
5205          container origin-as {5310          container origin-as {
5206            description5311            description
5207              "BGP origin-AS knobs";5312              "BGP origin-AS knobs";
5208            container allow {5313            container allow {
5209              description5314              description
5210                "BGP origin-AS knobs";5315                "BGP origin-AS knobs";
5211              container invalid {5316              container invalid {
5212                presence "Indicates a invalid node is configured.";5317                presence "Indicates a invalid node is configured.";
5213                description5318                description
5214                  "BGP bestpath selection will allow 'invalid' origin-AS";5319                  "BGP bestpath selection will allow 'invalid' origin-AS";
5215              }5320              }
5216            }5321            }
5217          }5322          }
5218        }5323        }
5219        leaf maximum-prefix-restart-time {5324        leaf maximum-prefix-restart-time {
5220          type uint32 {5325          type uint32 {
5221            range "1..65535" {5326            range "1..65535" {
5222              description5327              description
5223                "Maximum prefix restart time (seconds)";5328                "Maximum prefix restart time (seconds)";
5224            }5329            }
5225          }5330          }
5226          description5331          description
5227            "Restart timer interval";5332            "Restart timer interval";
5228        }5333        }
5229      }5334      }
5230      list neighbor-range {5335      list neighbor-range {
5231        key "neighbor-address prefix-length";5336        key "neighbor-address prefix-length";
5232        description5337        description
5233          "Neighbor address";5338          "Neighbor address";
5234        leaf neighbor-address {5339        leaf neighbor-address {
5235          type inet:ip-address-no-zone;5340          type inet:ip-address-no-zone;
5236          description5341          description
5237            "Neighbor address";5342            "Neighbor address";
5238        }5343        }
5239        leaf prefix-length {5344        leaf prefix-length {
5240          type uint32 {5345          type uint32 {
5241            range "0..127";5346            range "0..127";
5242          }5347          }
5243          description5348          description
5244            "Prefix length";5349            "Prefix length";
5245        }5350        }
5246        container address-families {5351        container address-families {
5247          description5352          description
5248            "Enter Address Family command mode";5353            "Enter Address Family command mode";
5249          list address-family {5354          list address-family {
5250            key "af-name";5355            key "af-name";
5251            description5356            description
5252              "Enter Address Family command mode";5357              "Enter Address Family command mode";
5253            leaf af-name {5358            leaf af-name {
5254              type Bgp-address-family;5359              type Bgp-address-family;
5255              description5360              description
5256                "Enter Address Family command mode";5361                "Enter Address Family command mode";
5257            }5362            }
5258            container use {5363            container use {
5259              description5364              description
5260                "Inherit configuration for this address-family from a group";5365                "Inherit configuration for this address-family from a group";
5261              leaf af-group {5366              leaf af-group {
5262                type string {5367                type string {
5263                  length "1..1024" {5368                  length "1..1024" {
5264                    description5369                    description
5265                      "AF group name";5370                      "AF group name";
5266                  }5371                  }
5267                }5372                }
5268                description5373                description
5269                  "Inherit configuration for this address-family from an af-group";5374                  "Inherit configuration for this address-family from an af-group";
5270              }5375              }
5271            }5376            }
5272            container capability {5377            container capability {
5273              description5378              description
5274                "Advertise capability to the peer";5379                "Advertise capability to the peer";
5275              container orf {5380              container orf {
5276                description5381                description
5277                  "Advertise ORF capability to the peer";5382                  "Advertise ORF capability to the peer";
5278                container prefix {5383                container prefix {
5279                  description5384                  description
5280                    "Advertise address prefix ORF capability to this neighbor";5385                    "Advertise address prefix ORF capability to this neighbor";
5281                  container receive {5386                  container receive {
5282                    must "not(../send or ../both or ../none)";5387                    must "not(../send or ../both or ../none)";
5283                    presence "Indicates a receive node is configured.";5388                    presence "Indicates a receive node is configured.";
5284                    description5389                    description
5285                      "Capability to RECEIVE the ORF from this neighbor";5390                      "Capability to RECEIVE the ORF from this neighbor";
5286                  }5391                  }
5287                  container send {5392                  container send {
5288                    must "not(../receive or ../both or ../none)";5393                    must "not(../receive or ../both or ../none)";
5289                    presence "Indicates a send node is configured.";5394                    presence "Indicates a send node is configured.";
5290                    description5395                    description
5291                      "Capability to SEND the ORF to this neighbor";5396                      "Capability to SEND the ORF to this neighbor";
5292                  }5397                  }
5293                  container both {5398                  container both {
5294                    must "not(../receive or ../send or ../none)";5399                    must "not(../receive or ../send or ../none)";
5295                    presence "Indicates a both node is configured.";5400                    presence "Indicates a both node is configured.";
5296                    description5401                    description
5297                      "Capability to RECEIVE and SEND the ORF from/to this neighbor";5402                      "Capability to RECEIVE and SEND the ORF from/to this neighbor";
5298                  }5403                  }
5299                  container none {5404                  container none {
5300                    must "not(../receive or ../send or ../both)";5405                    must "not(../receive or ../send or ../both)";
5301                    presence "Indicates a none node is configured.";5406                    presence "Indicates a none node is configured.";
5302                    description5407                    description
5303                      "No capability to RECEIVE or SEND the ORF from/to this neighbor";5408                      "No capability to RECEIVE or SEND the ORF from/to this neighbor";
5304                  }5409                  }
5305                }5410                }
5306              }5411              }
5307            }5412            }
5308            container default-originate {5413            container default-originate {
5309              presence "Indicates a default-originate node is configured.";5414              presence "Indicates a default-originate node is configured.";
5310              description5415              description
5311                "Originate default route to this neighbor";5416                "Originate default route to this neighbor";
5312              leaf route-policy {5417              leaf route-policy {
5313                type xr:Route-policy-name;5418                type xr:Route-policy-name;
5314                description5419                description
5315                  "Route policy to specify criteria to originate default";5420                  "Route policy to specify criteria to originate default";
5316              }5421              }
5317              container inheritance-disable {5422              container inheritance-disable {
5318                must "not(../route-policy)";5423                must "not(../route-policy)";
5319                presence "Indicates a inheritance-disable node is configured.";5424                presence "Indicates a inheritance-disable node is configured.";
5320                description5425                description
5321                  "Prevent default-originate being inherited from a parent group";5426                  "Prevent default-originate being inherited from a parent group";
5322              }5427              }
5323            }5428            }
5324            container maximum-prefix {5429            container maximum-prefix {
5325              presence "Indicates a maximum-prefix node is configured.";5430              presence "Indicates a maximum-prefix node is configured.";
5326              description5431              description
5327                "Maximum number of prefixes to accept from this peer";5432                "Maximum number of prefixes to accept from this peer";
5328              leaf prefix-limit {5433              leaf prefix-limit {
5329                type uint32 {5434                type uint32 {
5330                  range "1..4294967295" {5435                  range "1..4294967295" {
5331                    description5436                    description
5332                      "maximum no. of prefix limit";5437                      "maximum no. of prefix limit";
5333                  }5438                  }
5334                }5439                }
5335                mandatory true;5440                mandatory true;
5336                description5441                description
5337                  "Maximum number of prefixes to accept from this peer";5442                  "Maximum number of prefixes to accept from this peer";
5338              }5443              }
5339              leaf threshold {5444              leaf threshold {
5340                type uint32 {5445                type uint32 {
5341                  range "1..100" {5446                  range "1..100" {
5342                    description5447                    description
5343                      "Threshold value (%) at which to generate a warning msg";5448                      "Threshold value (%) at which to generate a warning msg";
5344                  }5449                  }
5345                }5450                }
5346                mandatory true;5451                mandatory true;
5347                description5452                description
5348                  "Threshold value (%) at which to generate a warning msg";5453                  "Threshold value (%) at which to generate a warning msg";
5349              }5454              }
5350              container warning-only {5455              container warning-only {
5351                presence "Indicates a warning-only node is configured.";5456                presence "Indicates a warning-only node is configured.";
5352                description5457                description
5353                  "Only give warning message when limit is exceeded";5458                  "Only give warning message when limit is exceeded";
5354              }5459              }
5355              leaf restart {5460              leaf restart {
5356                type uint32 {5461                type uint32 {
5357                  range "1..65535" {5462                  range "1..65535" {
5358                    description5463                    description
5359                      "Time interval (min) after which peering session will be reestablished";5464                      "Time interval (min) after which peering session will be reestablished";
5360                  }5465                  }
5361                }5466                }
5362                description5467                description
5363                  "Restart time interval";5468                  "Restart time interval";
5364              }5469              }
5365              container discard-extra-paths {5470              container discard-extra-paths {
5366                presence "Indicates a discard-extra-paths node is configured.";5471                presence "Indicates a discard-extra-paths node is configured.";
5367                description5472                description
5368                  "Discard extra paths when limit is exceeded";5473                  "Discard extra paths when limit is exceeded";
5369              }5474              }
5370            }5475            }
5371            leaf optimal-route-reflection {5476            leaf optimal-route-reflection {
5372              type string {5477              type string {
5373                length "1..32" {5478                length "1..32" {
5374                  description5479                  description
5375                    "ORR group name - maximum 32 characters";5480                    "ORR group name - maximum 32 characters";
5376                }5481                }
5377              }5482              }
5378              description5483              description
5379                "Configure optiomal-route-reflection for this neighbor";5484                "Configure optiomal-route-reflection for this neighbor";
5380            }5485            }
5381            container next-hop-self {5486            container next-hop-self {
5382              presence "Indicates a next-hop-self node is configured.";5487              presence "Indicates a next-hop-self node is configured.";
5383              description5488              description
5384                "Disable the next hop calculation for this neighbor";5489                "Disable the next hop calculation for this neighbor";
5385              container inheritance-disable {5490              container inheritance-disable {
5386                presence "Indicates a inheritance-disable node is configured.";5491                presence "Indicates a inheritance-disable node is configured.";
5387                description5492                description
5388                  "Prevent next-hop-self from being inherited from the parent";5493                  "Prevent next-hop-self from being inherited from the parent";
5389              }5494              }
5390            }5495            }
5391            container next-hop-unchanged {5496            container next-hop-unchanged {
5392              presence "Indicates a next-hop-unchanged node is configured.";5497              presence "Indicates a next-hop-unchanged node is configured.";
5393              description5498              description
5394                "Do not overwrite next hop before advertising to eBGP peers";5499                "Do not overwrite next hop before advertising to eBGP peers";
5395              container inheritance-disable {5500              container inheritance-disable {
5396                presence "Indicates a inheritance-disable node is configured.";5501                presence "Indicates a inheritance-disable node is configured.";
5397                description5502                description
5398                  "Prevent next-hop-unchanged from being inherited from the parent";5503                  "Prevent next-hop-unchanged from being inherited from the parent";
5399              }5504              }
5400            }5505            }
5401            container next-hop-unchanged-multipath {5506            container next-hop-unchanged-multipath {
5402              presence "Indicates a next-hop-unchanged-multipath node is configured.";5507              presence "Indicates a next-hop-unchanged-multipath node is configured.";
5403              description5508              description
5404                "Do not overwrite nexthop before advertising multipaths";5509                "Do not overwrite nexthop before advertising multipaths";
5405            }5510            }
5406            container slow-peer {5511            container slow-peer {
5407              description5512              description
5408                "Configure this neighbor as slow-peer";5513                "Configure this neighbor as slow-peer";
5409              container static {5514              container static {
5410                must "not(../dynamic)";5515                must "not(../dynamic)";
5411                presence "Indicates a static node is configured.";5516                presence "Indicates a static node is configured.";
5412                description5517                description
5413                  "Configure this neighbor as static slow-peer";5518                  "Configure this neighbor as static slow-peer";
5414              }5519              }
5415              container dynamic {5520              container dynamic {
5416                must "not(../static)";5521                must "not(../static)";
5417                presence "Indicates a dynamic node is configured.";5522                presence "Indicates a dynamic node is configured.";
5418                description5523                description
5419                  "Configure this neighbor as dynamic slow-peer";5524                  "Configure this neighbor as dynamic slow-peer";
5420                leaf threshold {5525                leaf threshold {
5421                  type uint16 {5526                  type uint16 {
5422                    range "120..3600" {5527                    range "120..3600" {
5423                      description5528                      description
5424                        "Threshold (in seconds) to detect this neighbor as slow-peer";5529                        "Threshold (in seconds) to detect this neighbor as slow-peer";
5425                    }5530                    }
5426                  }5531                  }
5427                  description5532                  description
5428                    "Threshold (in seconds) to detect this neighbor as slow-peer";5533                    "Threshold (in seconds) to detect this neighbor as slow-peer";
5429                }5534                }
5430                container disable {5535                container disable {
5431                  presence "Indicates a disable node is configured.";5536                  presence "Indicates a disable node is configured.";
5432                  description5537                  description
5433                    "Disable dynamic slow-peer";5538                    "Disable dynamic slow-peer";
5434                }5539                }
5435              }5540              }
5436            }5541            }
5437            container origin-as {5542            container origin-as {
5438              description5543              description
5439                "BGP origin-AS knobs";5544                "BGP origin-AS knobs";
5440              container validation {5545              container validation {
5441                description5546                description
5442                  "BGP origin-AS validation knobs";5547                  "BGP origin-AS validation knobs";
5443                container disable {5548                container disable {
5444                  presence "Indicates a disable node is configured.";5549                  presence "Indicates a disable node is configured.";
5445                  description5550                  description
5446                    "Disable RPKI origin-AS validation";5551                    "Disable RPKI origin-AS validation";
5447                }5552                }
5448              }5553              }
5449            }5554            }
5450            container bestpath {5555            container bestpath {
5451              description5556              description
5452                "Change default route selection criteria";5557                "Change default route selection criteria";
5453              container origin-as {5558              container origin-as {
5454                description5559                description
5455                  "BGP origin-AS knobs";5560                  "BGP origin-AS knobs";
5456                container allow {5561                container allow {
5457                  description5562                  description
5458                    "BGP origin-AS knobs";5563                    "BGP origin-AS knobs";
5459                  container invalid {5564                  container invalid {
5460                    presence "Indicates a invalid node is configured.";5565                    presence "Indicates a invalid node is configured.";
5461                    description5566                    description
5462                      "BGP bestpath selection will allow 'invalid' origin-AS";5567                      "BGP bestpath selection will allow 'invalid' origin-AS";
5463                  }5568                  }
5464                }5569                }
5465              }5570              }
5466            }5571            }
5467            container route-policy {5572            container route-policy {
5468              description5573              description
5469                "Apply route policy";5574                "Apply route policy";
5470              leaf in {5575              leaf in {
5471                type xr:Route-policy-name;5576                type xr:Route-policy-name;
5472                description5577                description
5473                  "Apply route policy to inbound routes";5578                  "Apply route policy to inbound routes";
5474              }5579              }
5475              leaf out {5580              leaf out {
5476                type xr:Route-policy-name;5581                type xr:Route-policy-name;
5477                description5582                description
5478                  "Apply route policy to outbound routes";5583                  "Apply route policy to outbound routes";
5479              }5584              }
5480              container retention {5585              container retention {
5481                description5586                description
5482                  "Apply retention policy to inbound routes";5587                  "Apply retention policy to inbound routes";
5483                leaf route-policy-name {5588                leaf route-policy-name {
5484                  type xr:Route-policy-name;5589                  type xr:Route-policy-name;
5485                  must "../retention-time";5590                  must "../retention-time";
5486                  description5591                  description
5487                    "Apply retention policy to inbound routes";5592                    "Apply retention policy to inbound routes";
5488                }5593                }
5489                leaf retention-time {5594                leaf retention-time {
5490                  type uint32 {5595                  type uint32 {
5491                    range "0..4294967295" {5596                    range "0..4294967295" {
5492                      description5597                      description
5493                        "Max time (seconds)";5598                        "Max time (seconds)";
5494                    }5599                    }
5495                  }5600                  }
5496                  must "../route-policy-name";5601                  must "../route-policy-name";
5497                  description5602                  description
5498                    "Retention-time for this neighbor";5603                    "Retention-time for this neighbor";
5499                }5604                }
5500              }5605              }
5501            }5606            }
5502            container orf {5607            container orf {
5503              description5608              description
5504                "Specify ORF and inbound filtering criteria";5609                "Specify ORF and inbound filtering criteria";
5505              leaf route-policy {5610              leaf route-policy {
5506                type xr:Route-policy-name;5611                type xr:Route-policy-name;
5507                description5612                description
5508                  "Route policy to specify ORF and inbound filter";5613                  "Route policy to specify ORF and inbound filter";
5509              }5614              }
5510            }5615            }
5511            container replace-private-as {5616            container replace-private-as {
5512              presence "Indicates a replace-private-as node is configured.";5617              presence "Indicates a replace-private-as node is configured.";
5513              description5618              description
5514                "Replace private AS number from outbound updates";5619                "Replace private AS number from outbound updates";
5515              container internal {5620              container internal {
5516                description5621                description
5517                  "remove only if all ASes in the path are private";5622                  "remove only if all ASes in the path are private";
5518              }5623              }
5519            }5624            }
5520            container remove-private-as {5625            container remove-private-as {
5521              presence "Indicates a remove-private-as node is configured.";5626              presence "Indicates a remove-private-as node is configured.";
5522              description5627              description
5523                "Remove private AS number from outbound updates";5628                "Remove private AS number from outbound updates";
5524              container entire-aspath {5629              container entire-aspath {
5525                must "not(../inheritance-disable or ../internal)";5630                must "not(../inheritance-disable or ../internal)";
5526                presence "Indicates a entire-aspath node is configured.";5631                presence "Indicates a entire-aspath node is configured.";
5527                description5632                description
5528                  "remove only if all ASes in the path are private";5633                  "remove only if all ASes in the path are private";
5529              }5634              }
5530              container inheritance-disable {5635              container inheritance-disable {
5531                must "not(../entire-aspath or ../internal)";5636                must "not(../entire-aspath or ../internal)";
5532                presence "Indicates a inheritance-disable node is configured.";5637                presence "Indicates a inheritance-disable node is configured.";
5533                description5638                description
5534                  "Prevent remove-private-AS from being inherited from the parent";5639                  "Prevent remove-private-AS from being inherited from the parent";
5535              }5640              }
5536              container internal {5641              container internal {
5537                must "not(../entire-aspath or ../inheritance-disable)";5642                must "not(../entire-aspath or ../inheritance-disable)";
5538                presence "Indicates a inheritance-disable node is configured.";5643                presence "Indicates a inheritance-disable node is configured.";
5539                description5644                description
5540                  "remove only if all ASes in the path are private";5645                  "remove only if all ASes in the path are private";
5541                container inheritance-disable {5646                container inheritance-disable {
5542                  presence "Indicates a inheritance-disable node is configured.";5647                  presence "Indicates a inheritance-disable node is configured.";
5543                  description5648                  description
5544                    "Prevent remove-private-AS from being inherited from the parent";5649                    "Prevent remove-private-AS from being inherited from the parent";
5545                }5650                }
5546              }5651              }
5547            }5652            }
5548            container remove-private-as-inbound {5653            container remove-private-as-inbound {
5549              must "not(entire-aspath and inheritance-disable)";5654              must "not(entire-aspath and inheritance-disable)";
5550              presence "Indicates a inbound node is configured.";5655              presence "Indicates a inbound node is configured.";
5551              description5656              description
5552                "Remove private AS number from inbound updates";5657                "Remove private AS number from inbound updates";
5553              container entire-aspath {5658              container entire-aspath {
5554                presence "Indicates a entire-aspath node is configured.";5659                presence "Indicates a entire-aspath node is configured.";
5555                description5660                description
5556                  "remove only if all ASes in the path are private";5661                  "remove only if all ASes in the path are private";
5557              }5662              }
5558              container inheritance-disable {5663              container inheritance-disable {
5559                presence "Indicates a inheritance-disable node is configured.";5664                presence "Indicates a inheritance-disable node is configured.";
5560                description5665                description
5561                  "Prevent remove-private-AS from being inherited from the parent";5666                  "Prevent remove-private-AS from being inherited from the parent";
5562              }5667              }
5563            }5668            }
5564            container enforce-multiple-labels {5669            container enforce-multiple-labels {
5565              presence "Indicates a enforce-multiple-labels node is configured.";5670              presence "Indicates a enforce-multiple-labels node is configured.";
5566              description5671              description
5567                "Enforce support for multiple labels (requires manual session flap)";5672                "Enforce support for multiple labels (requires manual session flap)";
5568              container inheritance-disable {5673              container inheritance-disable {
5569                presence "Indicates a inheritance-disable node is configured.";5674                presence "Indicates a inheritance-disable node is configured.";
5570                description5675                description
5571                  "Prevent enforce-multiple-labels from being inherited from the parent";5676                  "Prevent enforce-multiple-labels from being inherited from the parent";
5572              }5677              }
5573            }5678            }
5574            container route-reflector-client {5679            container route-reflector-client {
5575              presence "Indicates a route-reflector-client node is configured.";5680              presence "Indicates a route-reflector-client node is configured.";
5576              description5681              description
5577                "Configure a neighbor as Route Reflector client";5682                "Configure a neighbor as Route Reflector client";
5578              container inheritance-disable {5683              container inheritance-disable {
5579                presence "Indicates a inheritance-disable node is configured.";5684                presence "Indicates a inheritance-disable node is configured.";
5580                description5685                description
5581                  "Prevent route-reflector-client from being inherited from the parent";5686                  "Prevent route-reflector-client from being inherited from the parent";
5582              }5687              }
5583            }5688            }
5584            container accept-route-legacy-rt {5689            container accept-route-legacy-rt {
5585              presence "Indicates a accept-route-legacy-rt node is configured.";5690              presence "Indicates a accept-route-legacy-rt node is configured.";
5586              description5691              description
5587                "Configure a neighbor to support legacy PE for RT-Constraint AF";5692                "Configure a neighbor to support legacy PE for RT-Constraint AF";
5588              container inheritance-disable {5693              container inheritance-disable {
5589                presence "Indicates a inheritance-disable node is configured.";5694                presence "Indicates a inheritance-disable node is configured.";
5590                description5695                description
5591                  "Prevent  accept-route-legacy-RT from being inherited from the parent";5696                  "Prevent  accept-route-legacy-RT from being inherited from the parent";
5592              }5697              }
5593            }5698            }
5594            container send-community-ebgp {5699            container send-community-ebgp {
5595              presence "Indicates a send-community-ebgp node is configured.";5700              presence "Indicates a send-community-ebgp node is configured.";
5596              description5701              description
5597                "Send community attribute to this external neighbor";5702                "Send community attribute to this external neighbor";
5598              container inheritance-disable {5703              container inheritance-disable {
5599                presence "Indicates a inheritance-disable node is configured.";5704                presence "Indicates a inheritance-disable node is configured.";
5600                description5705                description
5601                  "Prevent send-community-ebgp from being inherited from the parent";5706                  "Prevent send-community-ebgp from being inherited from the parent";
5602              }5707              }
5603            }5708            }
5604            container send-community-gshut-ebgp {5709            container send-community-gshut-ebgp {
5605              presence "Indicates a send-community-gshut-ebgp node is configured.";5710              presence "Indicates a send-community-gshut-ebgp node is configured.";
5606              description5711              description
5607                "Allow the g-shut community to be sent to this external neighbor";5712                "Allow the g-shut community to be sent to this external neighbor";
5608              container inheritance-disable {5713              container inheritance-disable {
5609                presence "Indicates a inheritance-disable node is configured.";5714                presence "Indicates a inheritance-disable node is configured.";
5610                description5715                description
5611                  "Prevent send-community-gshut-ebgp from being inherited from the parent";5716                  "Prevent send-community-gshut-ebgp from being inherited from the parent";
5612              }5717              }
5613            }5718            }
5614            container send-extended-community-ebgp {5719            container send-extended-community-ebgp {
5615              presence "Indicates a send-extended-community-ebgp node is configured.";5720              presence "Indicates a send-extended-community-ebgp node is configured.";
5616              description5721              description
5617                "Send extended community attribute to this external neighbor";5722                "Send extended community attribute to this external neighbor";
5618              container inheritance-disable {5723              container inheritance-disable {
5619                presence "Indicates a inheritance-disable node is configured.";5724                presence "Indicates a inheritance-disable node is configured.";
5620                description5725                description
5621                  "Prevent send-extended-community-ebgp from being inherited from parent";5726                  "Prevent send-extended-community-ebgp from being inherited from parent";
5622              }5727              }
5623            }5728            }
5624            container soft-reconfiguration {5729            container soft-reconfiguration {
5625              description5730              description
5626                "Per neighbor soft reconfiguration";5731                "Per neighbor soft reconfiguration";
5627              container inbound {5732              container inbound {
5628                presence "Indicates a inbound node is configured.";5733                presence "Indicates a inbound node is configured.";
5629                description5734                description
5630                  "Allow inbound soft reconfiguration for this neighbor";5735                  "Allow inbound soft reconfiguration for this neighbor";
5631                container rpki-dropped-only {5736                container rpki-dropped-only {
5632                  must "not(../rpki-tested-only or ../always or ../inheritance-disable)";5737                  must "not(../rpki-tested-only or ../always or ../inheritance-disable)";
5633                  presence "Indicates a rpki-dropped-only node is configured.";5738                  presence "Indicates a rpki-dropped-only node is configured.";
5634                  description5739                  description
5635                    "Use soft-reconfig, for paths dropped by route-policy which have RPKI validity state check";5740                    "Use soft-reconfig, for paths dropped by route-policy which have RPKI validity state check";
5636                }5741                }
5637                container rpki-tested-only {5742                container rpki-tested-only {
5638                  must "not(../rpki-dropped-only or ../always or ../inheritance-disable)";5743                  must "not(../rpki-dropped-only or ../always or ../inheritance-disable)";
5639                  presence "Indicates a rpki-tested-only node is configured.";5744                  presence "Indicates a rpki-tested-only node is configured.";
5640                  description5745                  description
5641                    "Use soft-reconfig for paths tested or dropped by route-policy which have RPKI validity state check";5746                    "Use soft-reconfig for paths tested or dropped by route-policy which have RPKI validity state check";
5642                }5747                }
5643                container always {5748                container always {
5644                  must "not(../rpki-dropped-only or ../rpki-tested-only or ../inheritance-disable)";5749                  must "not(../rpki-dropped-only or ../rpki-tested-only or ../inheritance-disable)";
5645                  presence "Indicates a always node is configured.";5750                  presence "Indicates a always node is configured.";
5646                  description5751                  description
5647                    "Always use soft reconfig, even if route refresh is supported";5752                    "Always use soft reconfig, even if route refresh is supported";
5648                }5753                }
5649                container inheritance-disable {5754                container inheritance-disable {
5650                  must "not(../rpki-dropped-only or ../rpki-tested-only or ../always)";5755                  must "not(../rpki-dropped-only or ../rpki-tested-only or ../always)";
5651                  presence "Indicates a inheritance-disable node is configured.";5756                  presence "Indicates a inheritance-disable node is configured.";
5652                  description5757                  description
5653                    "Prevent soft-reconfiguration from being inherited from the parent";5758                    "Prevent soft-reconfiguration from being inherited from the parent";
5654                }5759                }
5655              }5760              }
5656            }5761            }
5657            container update {5762            container update {
5658              description5763              description
5659                "BGP out bound message";5764                "BGP out bound message";
5660              container out {5765              container out {
5661                description5766                description
5662                  "BGP out bound message handling";5767                  "BGP out bound message handling";
5663                container originator-loopcheck {5768                container originator-loopcheck {
5664                  presence "Indicates a originator-loopcheck node is configured.";5769                  presence "Indicates a originator-loopcheck node is configured.";
5665                  description5770                  description
5666                    "Loop check for same originator which sent the route";5771                    "Loop check for same originator which sent the route";
5667                  container disable {5772                  container disable {
5668                    presence "Indicates a disable node is configured.";5773                    presence "Indicates a disable node is configured.";
5669                    description5774                    description
5670                      "Disable originator loop check";5775                      "Disable originator loop check";
5671                  }5776                  }
5672                }5777                }
5673              }5778              }
5674            }5779            }
5675            container advertise {5780            container advertise {
5676              description5781              description
5677                "Per neighbor advertisement options";5782                "Per neighbor advertisement options";
5678              container permanent-network {5783              container permanent-network {
5679                when5784                when
5680                  "../../af-name != 'vpnv4-unicast' and5785                  "../../af-name != 'vpnv4-unicast' and
5681                   ../../af-name != 'vpnv4-multicast' and5786                   ../../af-name != 'vpnv4-multicast' and
5682                   ../../af-name != 'vpnv4-flowspec' and5787                   ../../af-name != 'vpnv4-flowspec' and
5683                   ../../af-name != 'vpnv6-flowspec' and5788                   ../../af-name != 'vpnv6-flowspec' and
5684                   ../../af-name != 'vpnv6-multicast' and5789                   ../../af-name != 'vpnv6-multicast' and
5685                   ../../af-name != 'vpnv6-unicast' and5790                   ../../af-name != 'vpnv6-unicast' and
5686                   ../../af-name != 'l2vpn-evpn' and5791                   ../../af-name != 'l2vpn-evpn' and
5687                   ../../af-name != 'l2vpn-mspw' and5792                   ../../af-name != 'l2vpn-mspw' and
5688                   ../../af-name != 'l2vpn-vpls-vpws'";5793                   ../../af-name != 'l2vpn-vpls-vpws'";
5689                presence "Indicates a permanent-network node is configured.";5794                presence "Indicates a permanent-network node is configured.";
5690                description5795                description
5691                  "Allow permanent networks for this neighbor";5796                  "Allow permanent networks for this neighbor";
5692              }5797              }
5693              container local-labeled-route {5798              container local-labeled-route {
5694                when5799                when
5695                  "../../af-name != 'vpnv4-unicast' and5800                  "../../af-name != 'vpnv4-unicast' and
5696                   ../../af-name != 'vpnv4-multicast' and5801                   ../../af-name != 'vpnv4-multicast' and
5697                   ../../af-name != 'vpnv4-flowspec' and5802                   ../../af-name != 'vpnv4-flowspec' and
5698                   ../../af-name != 'vpnv6-flowspec' and5803                   ../../af-name != 'vpnv6-flowspec' and
5699                   ../../af-name != 'vpnv6-multicast' and5804                   ../../af-name != 'vpnv6-multicast' and
5700                   ../../af-name != 'vpnv6-unicast' and5805                   ../../af-name != 'vpnv6-unicast' and
5701                   ../../af-name != 'l2vpn-evpn' and5806                   ../../af-name != 'l2vpn-evpn' and
5702                   ../../af-name != 'l2vpn-mspw' and5807                   ../../af-name != 'l2vpn-mspw' and
5703                   ../../af-name != 'l2vpn-vpls-vpws'";5808                   ../../af-name != 'l2vpn-vpls-vpws'";
5704                presence "Indicates a local-labeled-route node is configured.";5809                presence "Indicates a local-labeled-route node is configured.";
5705                description5810                description
5706                  "Advertisement of routes with local-label";5811                  "Advertisement of routes with local-label";
5707                container disable {5812                container disable {
5708                  presence "Indicates a disable node is configured.";5813                  presence "Indicates a disable node is configured.";
5709                  description5814                  description
5710                    "Do not advertise routes with local-label via Unicast SAFI";5815                    "Do not advertise routes with local-label via Unicast SAFI";
5711                }5816                }
5712              }5817              }
5713              container vpnv4 {5818              container vpnv4 {
5714                when5819                when
5715                  "../../af-name = 'vpnv4-unicast' or5820                  "../../af-name = 'vpnv4-unicast' or
5716                   ../../af-name = 'vpnv6-unicast' or5821                   ../../af-name = 'vpnv6-unicast' or
5717                   ../../af-name = 'l2vpn-evpn'";5822                   ../../af-name = 'l2vpn-evpn'";
5718                description5823                description
5719                  "VPNv4 Address Family";5824                  "VPNv4 Address Family";
5720                container unicast {5825                container unicast {
5721                  description5826                  description
5722                    "Address Family modifier";5827                    "Address Family modifier";
5723                  container enable {5828                  container enable {
5724                    presence "Indicates an enable node is configured.";5829                    presence "Indicates an enable node is configured.";
5725                    description5830                    description
5726                      "Enable advertise vpnv4 unicast";5831                      "Enable advertise vpnv4 unicast";
5727                    container re-originated {5832                    container re-originated {
5728                      presence "Indicates a re-originated node is configured.";5833                      presence "Indicates a re-originated node is configured.";
5729                      description5834                      description
5730                        "Advertise re-orignated and local routes only";5835                        "Advertise re-orignated and local routes only";
5731                      container stitching-rt {5836                      container stitching-rt {
5732                        presence "Indicates a stitching-rt node is configured.";5837                        presence "Indicates a stitching-rt node is configured.";
5733                        description5838                        description
5734                          "Advertise re-originated and local routes with stitching Route-Targets";5839                          "Advertise re-originated and local routes with stitching Route-Targets";
5735                      }5840                      }
5736                    }5841                    }
5737                  }5842                  }
5738                  container imported-from-default-vrf {5843                  container imported-from-default-vrf {
5739                    description5844                    description
5740                      "Default VRF imported routes";5845                      "Default VRF imported routes";
5741                    container disable {5846                    container disable {
5742                      presence "Indicates a disable node is configured.";5847                      presence "Indicates a disable node is configured.";
5743                      description5848                      description
5744                        "Disable advertisement of default VRF imported routes";5849                        "Disable advertisement of default VRF imported routes";
5745                    }5850                    }
5746                  }5851                  }
5747                  container imported-from-vrf {5852                  container imported-from-vrf {
5748                    description5853                    description
5749                      "VRF extranet imported routes";5854                      "VRF extranet imported routes";
5750                    container disable {5855                    container disable {
5751                      presence "Indicates a disable node is configured.";5856                      presence "Indicates a disable node is configured.";
5752                      description5857                      description
5753                        "Disable advertisement of VRF extranet imported routes";5858                        "Disable advertisement of VRF extranet imported routes";
5754                    }5859                    }
5755                  }5860                  }
5756                  container imported-from-bridgedomain {5861                  container imported-from-bridgedomain {
5757                    description5862                    description
5758                      "VRF EVPN extranet imported routes ";5863                      "VRF EVPN extranet imported routes ";
5759                    container disable {5864                    container disable {
5760                      presence "Indicates a disable node is configured.";5865                      presence "Indicates a disable node is configured.";
5761                      description5866                      description
5762                        "Disable advertisement of VRF EVPN extranet imported routes";5867                        "Disable advertisement of VRF EVPN extranet imported routes";
5763                    }5868                    }
5764                  }5869                  }
5765                }5870                }
5766              }5871              }
5767              container vpnv6 {5872              container vpnv6 {
5768                when5873                when
5769                  "../../af-name = 'vpnv4-unicast' or5874                  "../../af-name = 'vpnv4-unicast' or
5770                   ../../af-name = 'vpnv6-unicast' or5875                   ../../af-name = 'vpnv6-unicast' or
5771                   ../../af-name = 'l2vpn-evpn'";5876                   ../../af-name = 'l2vpn-evpn'";
5772                description5877                description
5773                  "VPNv6 Address Family";5878                  "VPNv6 Address Family";
5774                container unicast {5879                container unicast {
5775                  description5880                  description
5776                    "Address Family modifier";5881                    "Address Family modifier";
5777                  container enable {5882                  container enable {
5778                    presence "Indicates an enable node is configured.";5883                    presence "Indicates an enable node is configured.";
5779                    description5884                    description
5780                      "Enable advertise vpnv6 unicast";5885                      "Enable advertise vpnv6 unicast";
5781                    container re-originated {5886                    container re-originated {
5782                      presence "Indicates a re-originated node is configured.";5887                      presence "Indicates a re-originated node is configured.";
5783                      description5888                      description
5784                        "Advertise Re-orignated routes only";5889                        "Advertise Re-orignated routes only";
5785                      container stitching-rt {5890                      container stitching-rt {
5786                        presence "Indicates a stitching-rt node is configured.";5891                        presence "Indicates a stitching-rt node is configured.";
5787                        description5892                        description
5788                          "Advertise re-originated routes with stitching Route-Targets";5893                          "Advertise re-originated routes with stitching Route-Targets";
5789                      }5894                      }
5790                    }5895                    }
5791                  }5896                  }
5792                  container imported-from-default-vrf {5897                  container imported-from-default-vrf {
5793                    description5898                    description
5794                      "Default VRF imported routes";5899                      "Default VRF imported routes";
5795                    container disable {5900                    container disable {
5796                      presence "Indicates a disable node is configured.";5901                      presence "Indicates a disable node is configured.";
5797                      description5902                      description
5798                        "Disable advertisement of default VRF imported routes";5903                        "Disable advertisement of default VRF imported routes";
5799                    }5904                    }
5800                  }5905                  }
5801                  container imported-from-vrf {5906                  container imported-from-vrf {
5802                    description5907                    description
5803                      "VRF extranet imported routes";5908                      "VRF extranet imported routes";
5804                    container disable {5909                    container disable {
5805                      presence "Indicates a disable node is configured.";5910                      presence "Indicates a disable node is configured.";
5806                      description5911                      description
5807                        "Disable advertisement of VRF extranet imported routes";5912                        "Disable advertisement of VRF extranet imported routes";
5808                    }5913                    }
5809                  }5914                  }
5810                  container imported-from-bridgedomain {5915                  container imported-from-bridgedomain {
5811                    description5916                    description
5812                      "VRF EVPN extranet imported routes";5917                      "VRF EVPN extranet imported routes";
5813                    container disable {5918                    container disable {
5814                      presence "Indicates a disable node is configured.";5919                      presence "Indicates a disable node is configured.";
5815                      description5920                      description
5816                        "Disable advertisement of VRF EVPN extranet imported routes";5921                        "Disable advertisement of VRF EVPN extranet imported routes";
5817                    }5922                    }
5818                  }5923                  }
5819                }5924                }
5820              }5925              }
5821              container l2vpn {5926              container l2vpn {
5822                when5927                when
5823                  "../../af-name = 'vpnv4-unicast' or5928                  "../../af-name = 'vpnv4-unicast' or
5824                   ../../af-name = 'vpnv6-unicast' or5929                   ../../af-name = 'vpnv6-unicast' or
5825                   ../../af-name = 'l2vpn-evpn'";5930                   ../../af-name = 'l2vpn-evpn'";
5826                description5931                description
5827                  "L2VPN Address Family";5932                  "L2VPN Address Family";
5828                container evpn {5933                container evpn {
5829                  when "../../../af-name = 'l2vpn-evpn'";5934                  when "../../../af-name = 'l2vpn-evpn'";
5830                  presence "Indicates a evpn node is configured.";5935                  presence "Indicates a evpn node is configured.";
5831                  description5936                  description
5832                    "Address Family modifier";5937                    "Address Family modifier";
5833                  container re-originated {5938                  container re-originated {
5834                    presence "Indicates a re-originated node is configured.";5939                    presence "Indicates a re-originated node is configured.";
5835                    description5940                    description
5836                      "Advertise Re-orignated routes only";5941                      "Advertise Re-orignated routes only";
5837                    container stitching-rt {5942                    container stitching-rt {
5838                      presence "Indicates a stitching-rt node is configured.";5943                      presence "Indicates a stitching-rt node is configured.";
5839                      description5944                      description
5840                        "Advertise re-originated routes with stitching Route-Targets";5945                        "Advertise re-originated routes with stitching Route-Targets";
5841                    }5946                    }
5842                  }5947                  }
5843                }5948                }
5844                container evpn-disable {5949                container evpn-disable {
5845                  presence "Indicates a disable node is configured.";5950                  presence "Indicates a disable node is configured.";
5846                  description5951                  description
5847                    "Disable Advertisement of selected SAFI";5952                    "Disable Advertisement of selected SAFI";
5848                }5953                }
5849                container vpls-vpws {5954                container vpls-vpws {
5850                  description5955                  description
5851                    "Address Family modifier";5956                    "Address Family modifier";
5852                  container disable {5957                  container disable {
5853                    presence "Indicates a disable node is configured.";5958                    presence "Indicates a disable node is configured.";
5854                    description5959                    description
5855                      "Disable Advertisement of selected SAFI";5960                      "Disable Advertisement of selected SAFI";
5856                  }5961                  }
5857                }5962                }
5858                container mspw {5963                container mspw {
5859                  description5964                  description
5860                    "Address Family modifier";5965                    "Address Family modifier";
5861                  container disable {5966                  container disable {
5862                    presence "Indicates a disable node is configured.";5967                    presence "Indicates a disable node is configured.";
5863                    description5968                    description
5864                      "Disable Advertisement of selected SAFI";5969                      "Disable Advertisement of selected SAFI";
5865                  }5970                  }
5866                }5971                }
5867                container gateway-ip-disable {5972                container gateway-ip-disable {
5868                  when "../../../af-name = 'l2vpn-evpn'";5973                  when "../../../af-name = 'l2vpn-evpn'";
5869                  presence "Indicates a gateway-ip-disable node is configured.";5974                  presence "Indicates a gateway-ip-disable node is configured.";
5870                  description5975                  description
5871                    "Disable advertisement of non-zero EVPN Gateway-IP";5976                    "Disable advertisement of non-zero EVPN Gateway-IP";
5872                  container inheritance-disable {5977                  container inheritance-disable {
5873                    presence "Indicates a inheritance-disable node is configured.";5978                    presence "Indicates a inheritance-disable node is configured.";
5874                    description5979                    description
5875                      "Prevent EVPN Gateway-IP disable being inherited from a parent group";5980                      "Prevent EVPN Gateway-IP disable being inherited from a parent group";
5876                  }5981                  }
5877                }5982                }
5878              }5983              }
5879            }5984            }
5880            container encapsulation-type {5985            container encapsulation-type {
5881              when5986              when
5882                "../af-name = 'ipv4-unicast' or5987                "../af-name = 'ipv4-unicast' or
5883                 ../af-name = 'ipv6-unicast' or5988                 ../af-name = 'ipv6-unicast' or
5884                 ../af-name = 'vpnv4-unicast' or5989                 ../af-name = 'vpnv4-unicast' or
5885                 ../af-name = 'vpnv6-unicast' or5990                 ../af-name = 'vpnv6-unicast' or
5886                 ../af-name = 'l2vpn-evpn'";5991                 ../af-name = 'l2vpn-evpn'";
5887              description5992              description
5888                "Specify encapsulation type";5993                "Specify encapsulation type";
5889              container vxlan {5994              container vxlan {
5890                when5995                when
5891                  "../../af-name = 'vpnv4-unicast' or5996                  "../../af-name = 'vpnv4-unicast' or
5892                   ../../af-name = 'vpnv6-unicast' or5997                   ../../af-name = 'vpnv6-unicast' or
5893                   ../../af-name = 'l2vpn-evpn'";5998                   ../../af-name = 'l2vpn-evpn'";
5894                must "not(../srv6)";5999                must "not(../srv6)";
5895                presence "Indicates a vxlan node is configured.";6000                presence "Indicates a vxlan node is configured.";
5896                description6001                description
5897                  "VxLAN encapsulation";6002                  "VxLAN encapsulation";
5898              }6003              }
5899              container srv6 {6004              container srv6 {
5900                when "../../af-name != 'l2vpn-evpn'";6005                when "../../af-name != 'l2vpn-evpn'";
5901                must "not(../vxlan)";6006                must "not(../vxlan)";
5902                presence "Indicates a srv6 node is configured.";6007                presence "Indicates a srv6 node is configured.";
5903                description6008                description
5904                  "SRv6 encapsulation";6009                  "SRv6 encapsulation";
5905              }6010              }
5906            }6011            }
5907            container segment-routing {6012            container segment-routing {
5908              when "../af-name = 'vpnv4-unicast'";6013              when "../af-name = 'vpnv4-unicast'";
5909              description6014              description
5910                "enable segment-routing srv6 version 4";6015                "enable segment-routing srv6 version 4";
5911              container srv6 {6016              container srv6 {
5912                description6017                description
5913                  "srv6 version 4";6018                  "srv6 version 4";
5914                container prefix-sid-type4 {6019                container prefix-sid-type4 {
5915                  presence "Indicates a prefix-sid-type4 node is configured.";6020                  presence "Indicates a prefix-sid-type4 node is configured.";
5916                  description6021                  description
5917                    "Enable prefix sid version 4 encoding";6022                    "Enable prefix sid version 4 encoding";
5918                }6023                }
5919              }6024              }
5920            }6025            }
5921            container import {6026            container import {
5922              when "../af-name = 'vpnv4-unicast' or ../af-name = 'vpnv6-unicast'  or ../af-name = 'l2vpn-evpn'";6027              when "../af-name = 'vpnv4-unicast' or ../af-name = 'vpnv6-unicast'  or ../af-name = 'l2vpn-evpn'";
5923              description6028              description
5924                "Import options for neighbor address-family routes";6029                "Import options for neighbor address-family routes";
5925              container stitching-rt {6030              container stitching-rt {
5926                presence "Indicates a stitching-rt node is configured.";6031                presence "Indicates a stitching-rt node is configured.";
5927                description6032                description
5928                  "Import routes using stitching RTs";6033                  "Import routes using stitching RTs";
5929                container re-originate {6034                container re-originate {
5930                  presence "Indicates a re-originate node is configured.";6035                  presence "Indicates a re-originate node is configured.";
5931                  description6036                  description
5932                    "Re-originate imported routes";6037                    "Re-originate imported routes";
5933                  container stitching-rt {6038                  container stitching-rt {
5934                    presence "Indicates a stitching-rt node is configured.";6039                    presence "Indicates a stitching-rt node is configured.";
5935                    description6040                    description
5936                      "Reoriginate imported routes by attaching stitching RTs";6041                      "Reoriginate imported routes by attaching stitching RTs";
5937                  }6042                  }
5938                }6043                }
5939              }6044              }
5940            }6045            }
5941            leaf weight {6046            leaf weight {
5942              type uint32 {6047              type uint32 {
5943                range "0..65535" {6048                range "0..65535" {
5944                  description6049                  description
5945                    "default weight";6050                    "default weight";
5946                }6051                }
5947              }6052              }
5948              description6053              description
5949                "Set default weight for routes from this neighbor";6054                "Set default weight for routes from this neighbor";
5950            }6055            }
5951            container allowas-in {6056            container allowas-in {
5952              presence "Indicates a allowas-in node is configured.";6057              presence "Indicates a allowas-in node is configured.";
5953              description6058              description
5954                "Allow as-path with my AS present in it";6059                "Allow as-path with my AS present in it";
5955              leaf number-of-occurences {6060              leaf number-of-occurences {
5956                type uint32 {6061                type uint32 {
5957                  range "1..10" {6062                  range "1..10" {
5958                    description6063                    description
5959                      "Number of occurences of AS number";6064                      "Number of occurences of AS number";
5960                  }6065                  }
5961                }6066                }
5962                description6067                description
5963                  "Number of occurences of AS number";6068                  "Number of occurences of AS number";
5964              }6069              }
5965            }6070            }
5966            container allowconfedas-in {6071            container allowconfedas-in {
5967              presence "Indicates a allowconfedas-in node is configured.";6072              presence "Indicates a allowconfedas-in node is configured.";
5968              description6073              description
5969                "Allow as-path with my confederation AS present in it";6074                "Allow as-path with my confederation AS present in it";
5970              leaf number-of-occurences {6075              leaf number-of-occurences {
5971                type uint32 {6076                type uint32 {
5972                  range "1..10" {6077                  range "1..10" {
5973                    description6078                    description
5974                      "Number of occurences of confederation AS number";6079                      "Number of occurences of confederation AS number";
5975                  }6080                  }
5976                }6081                }
5977                description6082                description
5978                  "Number of occurences of confederation AS number";6083                  "Number of occurences of confederation AS number";
5979              }6084              }
5980            }6085            }
5981            container long-lived-graceful-restart {6086            container long-lived-graceful-restart {
5982              description6087              description
5983                "Enable long lived graceful restart support";6088                "Enable long lived graceful restart support";
5984              container stale-time {6089              container stale-time {
5985                description6090                description
5986                  "Maximum time to wait before purging long-lived stale routes";6091                  "Maximum time to wait before purging long-lived stale routes";
5987                leaf send {6092                leaf send {
5988                  type uint32 {6093                  type uint32 {
5989                    range "0..16777215" {6094                    range "0..16777215" {
5990                      description6095                      description
5991                        "Max time (seconds)";6096                        "Max time (seconds)";
5992                    }6097                    }
5993                  }6098                  }
5994                  description6099                  description
5995                    "Stale-time sent in LLGR Capability";6100                    "Stale-time sent in LLGR Capability";
5996                }6101                }
5997                leaf accept {6102                leaf accept {
5998                  type uint32 {6103                  type uint32 {
5999                    range "0..16777215" {6104                    range "0..16777215" {
6000                      description6105                      description
6001                        "Max time (seconds)";6106                        "Max time (seconds)";
6002                    }6107                    }
6003                  }6108                  }
6004                  description6109                  description
6005                    "Maximum stale-time acceptable from neighbor";6110                    "Maximum stale-time acceptable from neighbor";
6006                }6111                }
6007              }6112              }
6008              container capable {6113              container capable {
6009                presence "Indicates a capable node is configured.";6114                presence "Indicates a capable node is configured.";
6010                description6115                description
6011                  "Treat neighbor as LLGR capable";6116                  "Treat neighbor as LLGR capable";
6012              }6117              }
6013            }6118            }
6014            container as-override {6119            container as-override {
6015              presence "Indicates a as-override node is configured.";6120              presence "Indicates a as-override node is configured.";
6016              description6121              description
6017                "Override matching AS-number while sending update";6122                "Override matching AS-number while sending update";
6018              container inheritance-disable {6123              container inheritance-disable {
6019                presence "Indicates a inheritance-disable node is configured.";6124                presence "Indicates a inheritance-disable node is configured.";
6020                description6125                description
6021                  "Prevent as-override from being inherited from the parent";6126                  "Prevent as-override from being inherited from the parent";
6022              }6127              }
6023            }6128            }
6024            container aigp {6129            container aigp {
6025              presence "Indicates a aigp node is configured.";6130              presence "Indicates a aigp node is configured.";
6026              description6131              description
6027                "Enable AIGP for this neighbor ";6132                "Enable AIGP for this neighbor ";
6028              container disable {6133              container disable {
6029                presence "Indicates a disable node is configured.";6134                presence "Indicates a disable node is configured.";
6030                description6135                description
6031                  "Disable AIGP";6136                  "Disable AIGP";
6032              }6137              }
6033            }6138            }
6034            container aigp-send {6139            container aigp-send {
6035              description6140              description
6036                "Copy AIGP";6141                "Copy AIGP";
6037              container cost-community {6142              container cost-community {
6038                must "(cost-community-id and poi) or disable";6143                must "(cost-community-id and poi) or disable";
6039                presence "Indicates a cost-community node is configured.";6144                presence "Indicates a cost-community node is configured.";
6040                description6145                description
6041                  "Send AIGP value in Cost Community";6146                  "Send AIGP value in Cost Community";
6042                leaf cost-community-id {6147                leaf cost-community-id {
6043                  type uint32 {6148                  type uint32 {
6044                    range "0..255" {6149                    range "0..255" {
6045                      description6150                      description
6046                        "Cost community ID";6151                        "Cost community ID";
6047                    }6152                    }
6048                  }6153                  }
6049                  must "not(../disable)";6154                  must "not(../disable)";
6050                  description6155                  description
6051                    "Cost community ID";6156                    "Cost community ID";
6052                }6157                }
6053                container poi {6158                container poi {
6054                  must "(igp-cost or pre-bestpath) and not(igp-cost and pre-bestpath)";6159                  must "(igp-cost or pre-bestpath) and not(igp-cost and pre-bestpath)";
6055                  presence "Indicates a poi node is configured.";6160                  presence "Indicates a poi node is configured.";
6056                  description6161                  description
6057                    "Point of insertion for bestpath calculation";6162                    "Point of insertion for bestpath calculation";
6058                  container igp-cost {6163                  container igp-cost {
6059                    presence "Indicates a igp-cost node is configured.";6164                    presence "Indicates a igp-cost node is configured.";
6060                    description6165                    description
6061                      "Cost community is used after IGP distance to next hop";6166                      "Cost community is used after IGP distance to next hop";
6062                    container transitive {6167                    container transitive {
6063                      presence "Indicates a transitive node is configured.";6168                      presence "Indicates a transitive node is configured.";
6064                      description6169                      description
6065                        "Enable transitive cost community";6170                        "Enable transitive cost community";
6066                    }6171                    }
6067                  }6172                  }
6068                  container pre-bestpath {6173                  container pre-bestpath {
6069                    presence "Indicates a pre-bestpath node is configured.";6174                    presence "Indicates a pre-bestpath node is configured.";
6070                    description6175                    description
6071                      "Cost community is first step in best path calculation";6176                      "Cost community is first step in best path calculation";
6072                    container transitive {6177                    container transitive {
6073                      presence "Indicates a transitive node is configured.";6178                      presence "Indicates a transitive node is configured.";
6074                      description6179                      description
6075                        "Enable transitive cost community";6180                        "Enable transitive cost community";
6076                    }6181                    }
6077                  }6182                  }
6078                }6183                }
6079                container disable {6184                container disable {
6080                  must "not(../cost-community-id)";6185                  must "not(../cost-community-id)";
6081                  presence "Indicates a disable node is configured.";6186                  presence "Indicates a disable node is configured.";
6082                  description6187                  description
6083                    "Disable aigp send cost-community";6188                    "Disable aigp send cost-community";
6084                }6189                }
6085              }6190              }
6086              container med {6191              container med {
6087                presence "Indicates a med node is configured.";6192                presence "Indicates a med node is configured.";
6088                description6193                description
6089                  "Send AIGP value in MED";6194                  "Send AIGP value in MED";
6090                container disable {6195                container disable {
6091                  presence "Indicates a disable node is configured.";6196                  presence "Indicates a disable node is configured.";
6092                  description6197                  description
6093                    "Disable aigp send med";6198                    "Disable aigp send med";
6094                }6199                }
6095              }6200              }
6096            }6201            }
6097            container validation {6202            container validation {
6098              when "../af-name = 'ipv4-flowspec' or ../af-name = 'ipv6-flowspec'";6203              when "../af-name = 'ipv4-flowspec' or ../af-name = 'ipv6-flowspec'";
6099              presence "Indicates a validation node is configured.";6204              presence "Indicates a validation node is configured.";
6100              description6205              description
6101                "Flowspec Validation for this neighbor ";6206                "Flowspec Validation for this neighbor ";
6102              container disable {6207              container disable {
6103                presence "Indicates a disable node is configured.";6208                presence "Indicates a disable node is configured.";
6104                description6209                description
6105                  "Disable Flowspec Validation";6210                  "Disable Flowspec Validation";
6106              }6211              }
6107              container redirect {6212              container redirect {
6108                description6213                description
6109                  "Flowspec Redirect nexthop Validation";6214                  "Flowspec Redirect nexthop Validation";
6110                container disable {6215                container disable {
6111                  presence "Indicates a disable node is configured.";6216                  presence "Indicates a disable node is configured.";
6112                  description6217                  description
6113                    "Disable Flowspec Redirect nexthop Validation";6218                    "Disable Flowspec Redirect nexthop Validation";
6114                }6219                }
6115              }6220              }
6116            }6221            }
6117            container send-multicast-attributes {6222            container send-multicast-attributes {
6118              when "../af-name = 'ipv4-unicast' or ../af-name = 'ipv6-unicast' or ../af-name = 'ipv4-labeled-unicast' or ../af-name = 'ipv6-labeled-unicast' or ../af-name = 'ipv4-multicast' or ../af-name = 'ipv6-multicast' or ../af-name = 'ipv4-mvpn' or ../af-name = 'ipv6-mvpn'";6223              when "../af-name = 'ipv4-unicast' or ../af-name = 'ipv6-unicast' or ../af-name = 'ipv4-labeled-unicast' or ../af-name = 'ipv6-labeled-unicast' or ../af-name = 'ipv4-multicast' or ../af-name = 'ipv6-multicast' or ../af-name = 'ipv4-mvpn' or ../af-name = 'ipv6-mvpn'";
6119              presence "Indicates a send-multicast-attributes node is configured.";6224              presence "Indicates a send-multicast-attributes node is configured.";
6120              description6225              description
6121                "Send multicast attributes to this neighbor ";6226                "Send multicast attributes to this neighbor ";
6122              container disable {6227              container disable {
6123                presence "Indicates a disable node is configured.";6228                presence "Indicates a disable node is configured.";
6124                description6229                description
6125                  "Disable send multicast attribute";6230                  "Disable send multicast attribute";
6126              }6231              }
6127            }6232            }
6128            container signalling {6233            container signalling {
6129              description6234              description
6130                "Signalling protocols to disable, BGP or LDP";6235                "Signalling protocols to disable, BGP or LDP";
6131              container bgp {6236              container bgp {
6132                description6237                description
6133                  "Select BGP to disable";6238                  "Select BGP to disable";
6134                container disable {6239                container disable {
6135                  presence "Indicates a disable node is configured.";6240                  presence "Indicates a disable node is configured.";
6136                  description6241                  description
6137                    "Disable Signalling type";6242                    "Disable Signalling type";
6138                }6243                }
6139              }6244              }
6140              container ldp {6245              container ldp {
6141                description6246                description
6142                  "Select LDP to disable";6247                  "Select LDP to disable";
6143                container disable {6248                container disable {
6144                  presence "Indicates a disable node is configured.";6249                  presence "Indicates a disable node is configured.";
6145                  description6250                  description
6146                    "Disable Signalling type";6251                    "Disable Signalling type";
6147                }6252                }
6148              }6253              }
6149            }6254            }
6150            container accept-own {6255            container accept-own {
6151              presence "Indicates a accept-own node is configured.";6256              presence "Indicates a accept-own node is configured.";
6152              description6257              description
6153                "Handle self-originated routes with Accept-Own community";6258                "Handle self-originated routes with Accept-Own community";
6154              container inheritance-disable {6259              container inheritance-disable {
6155                presence "Indicates a inheritance-disable node is configured.";6260                presence "Indicates a inheritance-disable node is configured.";
6156                description6261                description
6157                  "Prevent item being inherited from a parent group";6262                  "Prevent item being inherited from a parent group";
6158              }6263              }
6159            }6264            }
6160          }6265          }
6161        }6266        }
6162        container update {6267        container update {
6163          description6268          description
6164            "BGP Update configuration";6269            "BGP Update configuration";
6165          container in {6270          container in {
6166            description6271            description
6167              "Inbound update message handling";6272              "Inbound update message handling";
6168            container filtering {6273            container filtering {
6169              presence "Indicates a filtering node is configured.";6274              presence "Indicates a filtering node is configured.";
6170              description6275              description
6171                "Inbound update message filtering";6276                "Inbound update message filtering";
6172              container message {6277              container message {
6173                description6278                description
6174                  "Filtered update messages";6279                  "Filtered update messages";
6175                container buffers {6280                container buffers {
6176                  presence "Indicates a buffers node is configured.";6281                  presence "Indicates a buffers node is configured.";
6177                  description6282                  description
6178                    "Filtered update message buffers";6283                    "Filtered update message buffers";
6179                  leaf number-of-buffers {6284                  leaf number-of-buffers {
6180                    type uint32 {6285                    type uint32 {
6181                      range "0..25" {6286                      range "0..25" {
6182                        description6287                        description
6183                          "Number of buffers to store filtered update messages (resizing does not take effect after filtering action has started)";6288                          "Number of buffers to store filtered update messages (resizing does not take effect after filtering action has started)";
6184                      }6289                      }
6185                    }6290                    }
6186                    mandatory true;6291                    mandatory true;
6187                    description6292                    description
6188                      "Filtered update message buffers";6293                      "Filtered update message buffers";
6189                  }6294                  }
6190                  container non-circular {6295                  container non-circular {
6191                    presence "Indicates a non-circular node is configured.";6296                    presence "Indicates a non-circular node is configured.";
6192                    description6297                    description
6193                      "Message buffer list is not circular";6298                      "Message buffer list is not circular";
6194                  }6299                  }
6195                }6300                }
6196              }6301              }
6197              container logging {6302              container logging {
6198                description6303                description
6199                  "Update filtering syslog message";6304                  "Update filtering syslog message";
6200                container disable {6305                container disable {
6201                  presence "Indicates a disable node is configured.";6306                  presence "Indicates a disable node is configured.";
6202                  description6307                  description
6203                    "Disable update filtering syslog message";6308                    "Disable update filtering syslog message";
6204                }6309                }
6205              }6310              }
6206              container attribute-filter {6311              container attribute-filter {
6207                description6312                description
6208                  "Attribute-filter configuration";6313                  "Attribute-filter configuration";
6209                leaf group {6314                leaf group {
6210                  type string {6315                  type string {
6211                    length "1..1024" {6316                    length "1..1024" {
6212                      description6317                      description
6213                        "Attribute-filter group name";6318                        "Attribute-filter group name";
6214                    }6319                    }
6215                  }6320                  }
6216                  description6321                  description
6217                    "Attribute-filter group configuration";6322                    "Attribute-filter group configuration";
6218                }6323                }
6219              }6324              }
6220            }6325            }
6221            container merge {6326            container merge {
6222              description6327              description
6223                "Merge incoming updates";6328                "Merge incoming updates";
6224              container safi {6329              container safi {
6225                description6330                description
6226                  "SAFI of the NLRIs to merge";6331                  "SAFI of the NLRIs to merge";
6227                container unicast {6332                container unicast {
6228                  description6333                  description
6229                    "IPv4/IPv6 unicast paths";6334                    "IPv4/IPv6 unicast paths";
6230                  container labeled-unicast {6335                  container labeled-unicast {
6231                    presence "Indicates a labeled-unicast node is configured.";6336                    presence "Indicates a labeled-unicast node is configured.";
6232                    description6337                    description
6233                      "IPv4/IPv6 labeled-unicast paths";6338                      "IPv4/IPv6 labeled-unicast paths";
6234                    container inheritance-disable {6339                    container inheritance-disable {
6235                      presence "Indicates a inheritance-disable node is configured.";6340                      presence "Indicates a inheritance-disable node is configured.";
6236                      description6341                      description
6237                        "Do not inherit this configuration from parent group";6342                        "Do not inherit this configuration from parent group";
6238                    }6343                    }
6239                  }6344                  }
6240                }6345                }
6241              }6346              }
6242            }6347            }
6243          }6348          }
6244        }6349        }
6245        container graceful-maintenance {6350        container graceful-maintenance {
6246          presence "Indicates a graceful-maintenance node is configured.";6351          presence "Indicates a graceful-maintenance node is configured.";
6247          description6352          description
6248            "Attributes for Graceful Maintenance. This will cause neig dprefer routes from this router and choonas. This allows the router to be brourt of service gracefully.";6353            "Attributes for Graceful Maintenance. This will cause neig dprefer routes from this router and choonas. This allows the router to be brourt of service gracefully.";
6249          container local-preference {6354          container local-preference {
6250            must "local-preference-value or inheritance-disable";6355            must "local-preference-value or inheritance-disable";
6251            presence "Indicates a local-preference node is configured.";6356            presence "Indicates a local-preference node is configured.";
6252            description6357            description
6253              "local preference with which to advertise routes to ibgps. Default=No Touch";6358              "local preference with which to advertise routes to ibgps. Default=No Touch";
6254            leaf local-preference-value {6359            leaf local-preference-value {
6255              type uint32 {6360              type uint32 {
6256                range "0..4294967295" {6361                range "0..4294967295" {
6257                  description6362                  description
6258                    "Range of values for Local Preference";6363                    "Range of values for Local Preference";
6259                }6364                }
6260              }6365              }
6261              description6366              description
6262                "Range of values for Local Preference";6367                "Range of values for Local Preference";
6263            }6368            }
6264            container inheritance-disable {6369            container inheritance-disable {
6265              presence "Indicates a inheritance-disable node is configured.";6370              presence "Indicates a inheritance-disable node is configured.";
6266              description6371              description
6267                "Prevent local preference from being inherited from the parent";6372                "Prevent local preference from being inherited from the parent";
6268            }6373            }
6269          }6374          }
6270          container as-prepends {6375          container as-prepends {
6271            must "number-of-as-prepends or inheritance-disable";6376            must "number-of-as-prepends or inheritance-disable";
6272            presence "Indicates a as-prepends node is configured.";6377            presence "Indicates a as-prepends node is configured.";
6273            description6378            description
6274              "Number of times to prepend the local AS number to the AS pous. Default=0";6379              "Number of times to prepend the local AS number to the AS pous. Default=0";
6275            leaf number-of-as-prepends {6380            leaf number-of-as-prepends {
6276              type uint32 {6381              type uint32 {
6277                range "0..6" {6382                range "0..6" {
6278                  description6383                  description
6279                    "Range of number of AS prepends";6384                    "Range of number of AS prepends";
6280                }6385                }
6281              }6386              }
6282              description6387              description
6283                "Range of number of AS prepends";6388                "Range of number of AS prepends";
6284            }6389            }
6285            container inheritance-disable {6390            container inheritance-disable {
6286              presence "Indicates a inheritance-disable node is configured.";6391              presence "Indicates a inheritance-disable node is configured.";
6287              description6392              description
6288                "Prevent AS prepends from being inherited from the parent";6393                "Prevent AS prepends from being inherited from the parent";
6289            }6394            }
6290          }6395          }
6291          container activate {6396          container activate {
6292            presence "Indicates a activate node is configured.";6397            presence "Indicates a activate node is configured.";
6293            description6398            description
6294              "Routes will be announced with the graceful maintenance6399              "Routes will be announced with the graceful maintenance
6295               attrhi activated either here or under router6400               attrhi activated either here or under router
6296               bgp atn. While activated, all routes to this6401               bgp atn. While activated, all routes to this
6297               neigl  announced with the attributes6402               neigl  announced with the attributes
6298               conferand all routes from this neighbor will6403               conferand all routes from this neighbor will
6299               be a tother neighbors with the graceful6404               be a tother neighbors with the graceful
6300               mainatibutes configured under those6405               mainatibutes configured under those
6301               neighe-shut community will be announced6406               neighe-shut community will be announced
6302               regaf e other attributes configured here. To6407               regaf e other attributes configured here. To
6303               allosh community to be announced to ebgp6408               allosh community to be announced to ebgp
6304               neigheend-community-gshut-ebgp configuration6409               neigheend-community-gshut-ebgp configuration
6305               is air. Note: changes to the attributes will6410               is air. Note: changes to the attributes will
6306               not ecwhile activated.";6411               not ecwhile activated.";
6307            container inheritance-disable {6412            container inheritance-disable {
6308              presence "Indicates a inheritance-disable node is configured.";6413              presence "Indicates a inheritance-disable node is configured.";
6309              description6414              description
6310                "Prevent activate from being inherited from the parent";6415                "Prevent activate from being inherited from the parent";
6311            }6416            }
6312          }6417          }
6313        }6418        }
6314        leaf remote-as {6419        leaf remote-as {
6315          type xr:Bgp-as-number;6420          type xr:Bgp-as-number;
6316          description6421          description
6317            "bgp as-number";6422            "bgp as-number";
6318        }6423        }
6319        leaf remote-as-list {6424        leaf remote-as-list {
6320          type string {6425          type string {
6321            length "1..1024" {6426            length "1..1024" {
6322              description6427              description
6323                "as-list name";6428                "as-list name";
6324            }6429            }
6325          }6430          }
6326          description6431          description
6327            "Remote as-list configuration";6432            "Remote as-list configuration";
6328        }6433        }
6329        container use {6434        container use {
6330          description6435          description
6331            "Inherit configuration from a group";6436            "Inherit configuration from a group";
6332          leaf session-group {6437          leaf session-group {
6333            type string {6438            type string {
6334              length "1..1024" {6439              length "1..1024" {
6335                description6440                description
6336                  "Session group name";6441                  "Session group name";
6337              }6442              }
6338            }6443            }
6339            description6444            description
6340              "Inherit address-family independent config from a session-group";6445              "Inherit address-family independent config from a session-group";
6341          }6446          }
6342          leaf neighbor-group {6447          leaf neighbor-group {
6343            type string {6448            type string {
6344              length "1..1024" {6449              length "1..1024" {
6345                description6450                description
6346                  "Neighbor-group name";6451                  "Neighbor-group name";
6347              }6452              }
6348            }6453            }
6349            description6454            description
6350              "Inherit configuration from a neighbor-group";6455              "Inherit configuration from a neighbor-group";
6351          }6456          }
6352        }6457        }
6353        container advertisement-interval {6458        container advertisement-interval {
6354          presence "Indicates a advertisement-interval node is configured.";6459          presence "Indicates a advertisement-interval node is configured.";
6355          description6460          description
6356            "Minimum interval between sending BGP routing updates";6461            "Minimum interval between sending BGP routing updates";
6357          leaf time-in-seconds {6462          leaf time-in-seconds {
6358            type uint32 {6463            type uint32 {
6359              range "0..600" {6464              range "0..600" {
6360                description6465                description
6361                  "time in seconds";6466                  "time in seconds";
6362              }6467              }
6363            }6468            }
6364            mandatory true;6469            mandatory true;
6365            description6470            description
6366              "Minimum interval between sending BGP routing updates";6471              "Minimum interval between sending BGP routing updates";
6367          }6472          }
6368          leaf time-in-milliseconds {6473          leaf time-in-milliseconds {
6369            type uint32 {6474            type uint32 {
6370              range "0..999" {6475              range "0..999" {
6371                description6476                description
6372                  "time in milliseconds";6477                  "time in milliseconds";
6373              }6478              }
6374            }6479            }
6375            description6480            description
6376              "time in milliseconds";6481              "time in milliseconds";
6377          }6482          }
6378        }6483        }
6379        leaf description {6484        leaf description {
6380          type string {6485          type string {
6381            length "1..1024" {6486            length "1..1024" {
6382              description6487              description
6383                "Up to 256 characters describing this neighbor";6488                "Up to 256 characters describing this neighbor";
6384            }6489            }
6385          }6490          }
6386          description6491          description
6387            "Neighbor specific description";6492            "Neighbor specific description";
6388        }6493        }
6389        container ignore-connected-check {6494        container ignore-connected-check {
6390          presence "Indicates a ignore-connected-check node is configured.";6495          presence "Indicates a ignore-connected-check node is configured.";
6391          description6496          description
6392            "Bypass the directly connected nexthop check for single-hop eBGP peering";6497            "Bypass the directly connected nexthop check for single-hop eBGP peering";
6393          container inheritance-disable {6498          container inheritance-disable {
6394            presence "Indicates a inheritance-disable node is configured.";6499            presence "Indicates a inheritance-disable node is configured.";
6395            description6500            description
6396              "Prevent ignore-connected-check from being inherited from the parent";6501              "Prevent ignore-connected-check from being inherited from the parent";
6397          }6502          }
6398        }6503        }
6399        container ebgp-multihop {6504        container ebgp-multihop {
6400          presence "Indicates a ebgp-multihop node is configured.";6505          presence "Indicates a ebgp-multihop node is configured.";
6401          description6506          description
6402            "Allow EBGP neighbors not on directly connected networks";6507            "Allow EBGP neighbors not on directly connected networks";
6403          leaf maximum-hop-count {6508          leaf maximum-hop-count {
6404            type uint32 {6509            type uint32 {
6405              range "1..255" {6510              range "1..255" {
6406                description6511                description
6407                  "maximum hop count";6512                  "maximum hop count";
6408              }6513              }
6409            }6514            }
6410            mandatory true;6515            mandatory true;
6411            description6516            description
6412              "maximum hop count";6517              "maximum hop count";
6413          }6518          }
6414          container mpls {6519          container mpls {
6415            presence "Indicates a mpls node is configured.";6520            presence "Indicates a mpls node is configured.";
6416            description6521            description
6417              "Disable BGP MPLS forwarding";6522              "Disable BGP MPLS forwarding";
6418          }6523          }
6419        }6524        }
6420        container tcp {6525        container tcp {
6421          description6526          description
6422            "TCP session configuration commands";6527            "TCP session configuration commands";
6423          container mss {6528          container mss {
6424            must "initial-mss or inheritance-disable";6529            must "initial-mss or inheritance-disable";
6425            presence "Indicates a mss node is configured.";6530            presence "Indicates a mss node is configured.";
6426            description6531            description
6427              "Maximum Segment Size";6532              "Maximum Segment Size";
6428            leaf initial-mss {6533            leaf initial-mss {
6429              type uint32 {6534              type uint32 {
6430                range "68..10000" {6535                range "68..10000" {
6431                  description6536                  description
6432                    "TCP initial maximum segment size";6537                    "TCP initial maximum segment size";
6433                }6538                }
6434              }6539              }
6435              description6540              description
6436                "TCP initial maximum segment size";6541                "TCP initial maximum segment size";
6437            }6542            }
6438            container inheritance-disable {6543            container inheritance-disable {
6439              presence "Indicates a inheritance-disable node is configured.";6544              presence "Indicates a inheritance-disable node is configured.";
6440              description6545              description
6441                "Prevent tcp mss from being inherited from the parent";6546                "Prevent tcp mss from being inherited from the parent";
6442            }6547            }
6443          }6548          }
6444          container ip-only-preferred {6549          container ip-only-preferred {
6445            presence "Indicates an ip-only-preferred node is configured.";6550            presence "Indicates an ip-only-preferred node is configured.";
6446            description6551            description
6447              "Prefer to send BGP control plane traffic on IP";6552              "Prefer to send BGP control plane traffic on IP";
6448            container inheritance-disable {6553            container inheritance-disable {
6449              presence "Indicates an inheritance-disable node is configured.";6554              presence "Indicates an inheritance-disable node is configured.";
6450              description6555              description
6451                "Do not inherit this configuration from parent group";6556                "Do not inherit this configuration from parent group";
6452            }6557            }
6453          }6558          }
6454        }6559        }
6455        container bmp-activate {6560        container bmp-activate {
6456          description6561          description
6457            "Enable BMP logging for this neighbor";6562            "Enable BMP logging for this neighbor";
6458          container servers {6563          container servers {
6459            description6564            description
6460              "Enable BMP connection to particular server";6565              "Enable BMP connection to particular server";
6461            list server {6566            list server {
6462              key "server-id";6567              key "server-id";
6463              description6568              description
6464                "Enable BMP connection to particular server";6569                "Enable BMP connection to particular server";
6465              leaf server-id {6570              leaf server-id {
6466                type uint32 {6571                type uint32 {
6467                  range "1..8" {6572                  range "1..8" {
6468                    description6573                    description
6469                      "Enable BMP connection to particular server";6574                      "Enable BMP connection to particular server";
6470                  }6575                  }
6471                }6576                }
6472                description6577                description
6473                  "Enable BMP connection to particular server";6578                  "Enable BMP connection to particular server";
6474              }6579              }
6475            }6580            }
6476          }6581          }
6477        }6582        }
6478        container bfd {6583        container bfd {
6479          description6584          description
6480            "Configure BFD parameters";6585            "Configure BFD parameters";
6481          container fast-detect {6586          container fast-detect {
6482            must "not(strict-mode and inheritance-disable)";6587            must "not(strict-mode and inheritance-disable)";
6483            presence "Indicates a fast-detect node is configured.";6588            presence "Indicates a fast-detect node is configured.";
6484            description6589            description
6485              "Enable Fast detection";6590              "Enable Fast detection";
6486            container strict-mode {6591            container strict-mode {
6487              presence "Indicates a strict-mode node is configured.";6592              presence "Indicates a strict-mode node is configured.";
6488              description6593              description
6489                "Hold down neighbor session until BFD session is up";6594                "Hold down neighbor session until BFD session is up";
6490            }6595            }
6491            container inheritance-disable {6596            container inheritance-disable {
6492              presence "Indicates a disable node is configured.";6597              presence "Indicates a disable node is configured.";
6493              description6598              description
6494                "Prevent bfd settings from being inherited from the parent";6599                "Prevent bfd settings from being inherited from the parent";
6495            }6600            }
6496          }6601          }
6497          leaf minimum-interval {6602          leaf minimum-interval {
6498            type uint32 {6603            type uint32 {
6499              range "3..30000" {6604              range "3..30000" {
6500                description6605                description
6501                  "hello interval in milli-seconds";6606                  "hello interval in milli-seconds";
6502              }6607              }
6503            }6608            }
6504            description6609            description
6505              "Hello interval";6610              "Hello interval";
6506          }6611          }
6507          leaf multiplier {6612          leaf multiplier {
6508            type uint32 {6613            type uint32 {
6509              range "2..16" {6614              range "2..16" {
6510                description6615                description
6511                  "Detect multiplier";6616                  "Detect multiplier";
6512              }6617              }
6513            }6618            }
6514            description6619            description
6515              "Detect multiplier";6620              "Detect multiplier";
6516          }6621          }
6517        }6622        }
6518        container keychain {6623        container keychain {
6519          must "name or inheritance-disable";6624          must "name or inheritance-disable";
6520          presence "Indicates a keychain node is configured.";6625          presence "Indicates a keychain node is configured.";
6521          description6626          description
6522            "Set keychain based authentication";6627            "Set keychain based authentication";
6523          leaf name {6628          leaf name {
6524            type string {6629            type string {
6525              length "1..32" {6630              length "1..32" {
6526                description6631                description
6527                  "Name of the key chain - maximum 32 characters";6632                  "Name of the key chain - maximum 32 characters";
6528              }6633              }
6529            }6634            }
6530            description6635            description
6531              "Name of the key chain - maximum 32 characters";6636              "Name of the key chain - maximum 32 characters";
6532          }6637          }
6533          container inheritance-disable {6638          container inheritance-disable {
6534            presence "Indicates a inheritance-disable node is configured.";6639            presence "Indicates a inheritance-disable node is configured.";
6535            description6640            description
6536              "Prevent keychain from being inherited from parent";6641              "Prevent keychain from being inherited from parent";
6537          }6642          }
6538        }6643        }
6539        container local-as {6644        container local-as {
6540          must "as-number or inheritance-disable";6645          must "as-number or inheritance-disable";
6541          presence "Indicates a local-as node is configured.";6646          presence "Indicates a local-as node is configured.";
6542          description6647          description
6543            "Specify local AS number";6648            "Specify local AS number";
6544          leaf as-number {6649          leaf as-number {
6545            type xr:Bgp-as-number;6650            type xr:Bgp-as-number;
6546            description6651            description
6547              "bgp as-number";6652              "bgp as-number";
6548          }6653          }
6549          container no-prepend {6654          container no-prepend {
6550            presence "Indicates a no-prepend node is configured.";6655            presence "Indicates a no-prepend node is configured.";
6551            description6656            description
6552              "Do not prepend local AS to announcements from this neighbor";6657              "Do not prepend local AS to announcements from this neighbor";
6553            container replace-as {6658            container replace-as {
6554              presence "Indicates a replace-as node is configured.";6659              presence "Indicates a replace-as node is configured.";
6555              description6660              description
6556                "Prepend only local AS to announcements to this neighbor";6661                "Prepend only local AS to announcements to this neighbor";
6557              container dual-as {6662              container dual-as {
6558                presence "Indicates a dual-as node is configured.";6663                presence "Indicates a dual-as node is configured.";
6559                description6664                description
6560                  "Dual-AS mode";6665                  "Dual-AS mode";
6561              }6666              }
6562            }6667            }
6563          }6668          }
6564          container inheritance-disable {6669          container inheritance-disable {
6565            presence "Indicates a inheritance-disable node is configured.";6670            presence "Indicates a inheritance-disable node is configured.";
6566            description6671            description
6567              "Prevent local AS from being inherited from parent";6672              "Prevent local AS from being inherited from parent";
6568          }6673          }
6569        }6674        }
6570        container password {6675        container password {
6571          must "encrypted or inheritance-disable";6676          must "encrypted or inheritance-disable";
6572          presence "Indicates a password node is configured.";6677          presence "Indicates a password node is configured.";
6573          description6678          description
6574            "Set a password";6679            "Set a password";
6575          leaf encrypted {6680          leaf encrypted {
6576            type xr:Proprietary-password;6681            type xr:Proprietary-password;
6577            description6682            description
6578              "Specifies an ENCRYPTED password will follow";6683              "Specifies an ENCRYPTED password will follow";
6579          }6684          }
6580          container inheritance-disable {6685          container inheritance-disable {
6581            presence "Indicates a inheritance-disable node is configured.";6686            presence "Indicates a inheritance-disable node is configured.";
6582            description6687            description
6583              "Prevent password from being inherited from parent";6688              "Prevent password from being inherited from parent";
6584          }6689          }
6585        }6690        }
6586        container receive-buffer-size {6691        container receive-buffer-size {
6587          presence "Indicates a receive-buffer-size node is configured.";6692          presence "Indicates a receive-buffer-size node is configured.";
6588          description6693          description
6589            "Set socket and BGP receive buffer size";6694            "Set socket and BGP receive buffer size";
6590          leaf receive-socket-buffer-size {6695          leaf receive-socket-buffer-size {
6591            type uint32 {6696            type uint32 {
6592              range "512..131072" {6697              range "512..131072" {
6593                description6698                description
6594                  "Receive socket buffer size in bytes";6699                  "Receive socket buffer size in bytes";
6595              }6700              }
6596            }6701            }
6597            mandatory true;6702            mandatory true;
6598            description6703            description
6599              "Set socket and BGP receive buffer size";6704              "Set socket and BGP receive buffer size";
6600          }6705          }
6601          leaf bgp-read-buffer-size {6706          leaf bgp-read-buffer-size {
6602            type uint32 {6707            type uint32 {
6603              range "512..131072" {6708              range "512..131072" {
6604                description6709                description
6605                  "BGP Read buffer size in bytes";6710                  "BGP Read buffer size in bytes";
6606              }6711              }
6607            }6712            }
6608            description6713            description
6609              "BGP Read buffer size in bytes";6714              "BGP Read buffer size in bytes";
6610          }6715          }
6611        }6716        }
6612        container send-buffer-size {6717        container send-buffer-size {
6613          presence "Indicates a send-buffer-size node is configured.";6718          presence "Indicates a send-buffer-size node is configured.";
6614          description6719          description
6615            "Set socket and BGP send buffer size";6720            "Set socket and BGP send buffer size";
6616          leaf send-socket-buffer-size {6721          leaf send-socket-buffer-size {
6617            type uint32 {6722            type uint32 {
6618              range "4096..131072" {6723              range "4096..131072" {
6619                description6724                description
6620                  "Send socket buffer size in bytes";6725                  "Send socket buffer size in bytes";
6621              }6726              }
6622            }6727            }
6623            mandatory true;6728            mandatory true;
6624            description6729            description
6625              "Set socket and BGP send buffer size";6730              "Set socket and BGP send buffer size";
6626          }6731          }
6627          leaf bgp-write-buffer-size {6732          leaf bgp-write-buffer-size {
6628            type uint32 {6733            type uint32 {
6629              range "4096..131072" {6734              range "4096..131072" {
6630                description6735                description
6631                  "BGP Write buffer size in bytes";6736                  "BGP Write buffer size in bytes";
6632              }6737              }
6633            }6738            }
6634            description6739            description
6635              "BGP Write buffer size in bytes";6740              "BGP Write buffer size in bytes";
6636          }6741          }
6637        }6742        }
6638        container shutdown {6743        container shutdown {
6639          presence "Indicates a shutdown node is configured.";6744          presence "Indicates a shutdown node is configured.";
6640          description6745          description
6641            "Administratively shut down this neighbor";6746            "Administratively shut down this neighbor";
6642          container inheritance-disable {6747          container inheritance-disable {
6643            presence "Indicates a inheritance-disable node is configured.";6748            presence "Indicates a inheritance-disable node is configured.";
6644            description6749            description
6645              "Prevent this neighbor being shutdown, even if its parent is";6750              "Prevent this neighbor being shutdown, even if its parent is";
6646          }6751          }
6647        }6752        }
6648        container fast-fallover {6753        container fast-fallover {
6649          presence "Indicates a fast-fallover node is configured.";6754          presence "Indicates a fast-fallover node is configured.";
6650          description6755          description
6651            "Force neighbor to be directly connected. Bring neighbor down if its interface goes down";6756            "Force neighbor to be directly connected. Bring neighbor down if its interface goes down";
6652          container inheritance-disable {6757          container inheritance-disable {
6653            presence "Indicates a inheritance-disable node is configured.";6758            presence "Indicates a inheritance-disable node is configured.";
6654            description6759            description
6655              "Prevent this neighbor from inheriting this config from a group it is in";6760              "Prevent this neighbor from inheriting this config from a group it is in";
6656          }6761          }
6657        }6762        }
6658        container timers {6763        container timers {
6659          presence "Indicates a timers node is configured.";6764          presence "Indicates a timers node is configured.";
6660          description6765          description
6661            "BGP per neighbor timers";6766            "BGP per neighbor timers";
6662          leaf keepalive-interval {6767          leaf keepalive-interval {
6663            type uint32 {6768            type uint32 {
6664              range "0..65535" {6769              range "0..65535" {
6665                description6770                description
6666                  "Keepalive interval";6771                  "Keepalive interval";
6667              }6772              }
6668            }6773            }
6669            mandatory true;6774            mandatory true;
6670            description6775            description
6671              "BGP timers";6776              "BGP timers";
6672          }6777          }
6673          leaf holdtime {6778          leaf holdtime {
6674            type union {6779            type union {
6675              type uint32 {6780              type uint32 {
6676                range "0" {6781                range "0" {
6677                  description6782                  description
6678                    "0 to disable keepalives/hold time.";6783                    "0 to disable keepalives/hold time.";
6679                }6784                }
6680              }6785              }
6681              type uint32 {6786              type uint32 {
6682                range "3..65535" {6787                range "3..65535" {
6683                  description6788                  description
6684                    "Holdtime.";6789                    "Holdtime.";
6685                }6790                }
6686              }6791              }
6687            }6792            }
6688            mandatory true;6793            mandatory true;
6689            description6794            description
6690              "Holdtime. Set 0 to disable keepalives/hold time.";6795              "Holdtime. Set 0 to disable keepalives/hold time.";
6691          }6796          }
6692          leaf minimum-acceptable-holdtime {6797          leaf minimum-acceptable-holdtime {
6693            type union {6798            type union {
6694              type uint32 {6799              type uint32 {
6695                range "0" {6800                range "0" {
6696                  description6801                  description
6697                    "0 to disable keepalives/hold time.";6802                    "0 to disable keepalives/hold time.";
6698                }6803                }
6699              }6804              }
6700              type uint32 {6805              type uint32 {
6701                range "3..65535" {6806                range "3..65535" {
6702                  description6807                  description
6703                    "Minimum acceptable holdtime from neighbor.";6808                    "Minimum acceptable holdtime from neighbor.";
6704                }6809                }
6705              }6810              }
6706            }6811            }
6707            description6812            description
6708              "Minimum acceptable holdtime from neighbor. Set 0 to disable keepalives/hold time.";6813              "Minimum acceptable holdtime from neighbor. Set 0 to disable keepalives/hold time.";
6709          }6814          }
6710        }6815        }
6711        container local {6816        container local {
6712          description6817          description
6713            "Configure local parameter";6818            "Configure local parameter";
6714          container address {6819          container address {
6715            must "ip-address or inheritance-disable";6820            must "ip-address or inheritance-disable";
6716            presence "Indicates a address node is configured.";6821            presence "Indicates a address node is configured.";
6717            description6822            description
6718              "use configured local address for bgp peering";6823              "use configured local address for bgp peering";
6719            leaf ip-address {6824            leaf ip-address {
6720              type inet:ip-address-no-zone;6825              type inet:ip-address-no-zone;
6721              description6826              description
6722                "IPv4 address";6827                "IPv4 address";
6723            }6828            }
6724            container inheritance-disable {6829            container inheritance-disable {
6725              presence "Indicates a inheritance-disable node is configured.";6830              presence "Indicates a inheritance-disable node is configured.";
6726              description6831              description
6727                "Prevent local address from being inherited from parent";6832                "Prevent local address from being inherited from parent";
6728            }6833            }
6729          }6834          }
6730        }6835        }
6731        container log {6836        container log {
6732          description6837          description
6733            "Logging update messages per neighbor";6838            "Logging update messages per neighbor";
6734          container message {6839          container message {
6735            description6840            description
6736              "Logging update/notification messages per neighbor";6841              "Logging update/notification messages per neighbor";
6737            container in {6842            container in {
6738              description6843              description
6739                "Inbound log messages";6844                "Inbound log messages";
6740              leaf message-log-buffer-size {6845              leaf message-log-buffer-size {
6741                type uint32 {6846                type uint32 {
6742                  range "1..500" {6847                  range "1..500" {
6743                    description6848                    description
6744                      "Range for message log buffer size";6849                      "Range for message log buffer size";
6745                  }6850                  }
6746                }6851                }
6747                description6852                description
6748                  "Range for message log buffer size";6853                  "Range for message log buffer size";
6749              }6854              }
6750              container disable {6855              container disable {
6751                presence "Indicates a disable node is configured.";6856                presence "Indicates a disable node is configured.";
6752                description6857                description
6753                  "Disable inbound message logging";6858                  "Disable inbound message logging";
6754              }6859              }
6755              container inheritance-diable {6860              container inheritance-diable {
6756                presence "Indicates a inheritance-diable node is configured.";6861                presence "Indicates a inheritance-diable node is configured.";
6757                description6862                description
6758                  "Prevents the msg log from being inherited from the parent";6863                  "Prevents the msg log from being inherited from the parent";
6759              }6864              }
6760            }6865            }
6761            container out {6866            container out {
6762              description6867              description
6763                "Outbound log messages";6868                "Outbound log messages";
6764              leaf message-log-buffer-size {6869              leaf message-log-buffer-size {
6765                type uint32 {6870                type uint32 {
6766                  range "1..500" {6871                  range "1..500" {
6767                    description6872                    description
6768                      "Range for message log buffer size";6873                      "Range for message log buffer size";
6769                  }6874                  }
6770                }6875                }
6771                description6876                description
6772                  "Range for message log buffer size";6877                  "Range for message log buffer size";
6773              }6878              }
6774              container disable {6879              container disable {
6775                presence "Indicates a disable node is configured.";6880                presence "Indicates a disable node is configured.";
6776                description6881                description
6777                  "Disable outbound message logging";6882                  "Disable outbound message logging";
6778              }6883              }
6779              container inheritance-diable {6884              container inheritance-diable {
6780                presence "Indicates a inheritance-diable node is configured.";6885                presence "Indicates a inheritance-diable node is configured.";
6781                description6886                description
6782                  "Prevents the msg log from being inherited from the parent";6887                  "Prevents the msg log from being inherited from the parent";
6783              }6888              }
6784            }6889            }
6785          }6890          }
6786        }6891        }
6787        leaf update-source {6892        leaf update-source {
6788          type xr:Interface-name;6893          type xr:Interface-name;
6789          description6894          description
6790            "Source of routing updates";6895            "Source of routing updates";
6791        }6896        }
6792        container local-address-subnet {6897        container local-address-subnet {
6793          description6898          description
6794            "Local address subnet of routing updates";6899            "Local address subnet of routing updates";
6795          leaf ip-address {6900          leaf ip-address {
6796            type inet:ip-address-no-zone;6901            type inet:ip-address-no-zone;
6797            description6902            description
6798              "IP address and mask length";6903              "IP address and mask length";
6799          }6904          }
6800          leaf mask-length {6905          leaf mask-length {
6801            type uint32 {6906            type uint32 {
6802              range "0..128" {6907              range "0..128" {
6803                description6908                description
6804                  "IP address mask length";6909                  "IP address mask length";
6805              }6910              }
6806            }6911            }
6807            description6912            description
6808              "IP address and mask length";6913              "IP address and mask length";
6809          }6914          }
6810        }6915        }
6811        container dmz-link-bandwidth {6916        container dmz-link-bandwidth {
6812          presence "Indicates a dmz-link-bandwidth node is configured.";6917          presence "Indicates a dmz-link-bandwidth node is configured.";
6813          description6918          description
6814            "Propagate the DMZ link bandwidth";6919            "Propagate the DMZ link bandwidth";
6815          container inheritance-disable {6920          container inheritance-disable {
6816            presence "Indicates a inheritance-disable node is configured.";6921            presence "Indicates a inheritance-disable node is configured.";
6817            description6922            description
6818              "Prevent dmz-link-bandwidth from being inherited from the parent";6923              "Prevent dmz-link-bandwidth from being inherited from the parent";
6819          }6924          }
6820        }6925        }
6821        container ebgp-recv-extcommunity-dmz {6926        container ebgp-recv-extcommunity-dmz {
6822          presence "Indicates a ebgp-recv-extcommunity-dmz node is configured.";6927          presence "Indicates a ebgp-recv-extcommunity-dmz node is configured.";
6823          description6928          description
6824            "Receive extcommunity dmz link bandwidth from ebgp neighbor";6929            "Receive extcommunity dmz link bandwidth from ebgp neighbor";
6825          container inheritance-disable {6930          container inheritance-disable {
6826            presence "Indicates a inheritance-disable node is configured.";6931            presence "Indicates a inheritance-disable node is configured.";
6827            description6932            description
6828              "Prevent ebgp-send-community-dmz from being inherited from parent";6933              "Prevent ebgp-send-community-dmz from being inherited from parent";
6829          }6934          }
6830        }6935        }
6831        container ebgp-send-extcommunity-dmz {6936        container ebgp-send-extcommunity-dmz {
6832          must "not(cumulative and inheritance-disable)";6937          must "not(cumulative and inheritance-disable)";
6833          presence "Indicates a ebgp-send-extcommunity-dmz node is configured.";6938          presence "Indicates a ebgp-send-extcommunity-dmz node is configured.";
6834          description6939          description
6835            "Send extended community dmz link bandwidth to ebgp neighbor";6940            "Send extended community dmz link bandwidth to ebgp neighbor";
6836          container cumulative {6941          container cumulative {
6837            presence "Indicates a cumulative node is configured.";6942            presence "Indicates a cumulative node is configured.";
6838            description6943            description
6839              "Send cumulative community dmz link bandwidth of all multipaths to ebgp neighbor";6944              "Send cumulative community dmz link bandwidth of all multipaths to ebgp neighbor";
6840          }6945          }
6841          container inheritance-disable {6946          container inheritance-disable {
6842            presence "Indicates a inheritance-disable node is configured.";6947            presence "Indicates a inheritance-disable node is configured.";
6843            description6948            description
6844              "Prevent ebgp-send-extcommunity-dmz from being inherited from parent";6949              "Prevent ebgp-send-extcommunity-dmz from being inherited from parent";
6845          }6950          }
6846        }6951        }
6847        container ttl-security {6952        container ttl-security {
6848          presence "Indicates a ttl-security node is configured.";6953          presence "Indicates a ttl-security node is configured.";
6849          description6954          description
6850            "Enable EBGP TTL security";6955            "Enable EBGP TTL security";
6851          container inheritance-disable {6956          container inheritance-disable {
6852            presence "Indicates a inheritance-disable node is configured.";6957            presence "Indicates a inheritance-disable node is configured.";
6853            description6958            description
6854              "Prevent ttl-security from being inherited from the parent";6959              "Prevent ttl-security from being inherited from the parent";
6855          }6960          }
6856        }6961        }
6857        container session-open-mode {6962        container session-open-mode {
6858          description6963          description
6859            "Establish BGP session using this TCP open mode";6964            "Establish BGP session using this TCP open mode";
6860          container active-only {6965          container active-only {
6861            must "not(../passive-only or ../both)";6966            must "not(../passive-only or ../both)";
6862            presence "Indicates a active-only node is configured.";6967            presence "Indicates a active-only node is configured.";
6863            description6968            description
6864              "Active only";6969              "Active only";
6865          }6970          }
6866          container passive-only {6971          container passive-only {
6867            must "not(../active-only or ../both)";6972            must "not(../active-only or ../both)";
6868            presence "Indicates a passive-only node is configured.";6973            presence "Indicates a passive-only node is configured.";
6869            description6974            description
6870              "Passive only";6975              "Passive only";
6871          }6976          }
6872          container both {6977          container both {
6873            must "not(../active-only or ../passive-only)";6978            must "not(../active-only or ../passive-only)";
6874            presence "Indicates a both node is configured.";6979            presence "Indicates a both node is configured.";
6875            description6980            description
6876              "Prevent session-open-mode being inherited from the parent";6981              "Prevent session-open-mode being inherited from the parent";
6877          }6982          }
6878        }6983        }
6879        leaf dscp {6984        leaf dscp {
6880          type enumeration {6985          type enumeration {
6881            enum "default" {6986            enum "default" {
6882              value 0;6987              value 0;
6883              description6988              description
6884                "Set packets with default dscp (000000)";6989                "Set packets with default dscp (000000)";
6885            }6990            }
6886            enum "cs1" {6991            enum "cs1" {
6887              value 8;6992              value 8;
6888              description6993              description
6889                "Set packets with CS1(precedence 1) dscp (001000)";6994                "Set packets with CS1(precedence 1) dscp (001000)";
6890            }6995            }
6891            enum "af11" {6996            enum "af11" {
6892              value 10;6997              value 10;
6893              description6998              description
6894                "Set packets with AF11 dscp (001010)";6999                "Set packets with AF11 dscp (001010)";
6895            }7000            }
6896            enum "af12" {7001            enum "af12" {
6897              value 12;7002              value 12;
6898              description7003              description
6899                "Set packets with AF12 dscp (001100)";7004                "Set packets with AF12 dscp (001100)";
6900            }7005            }
6901            enum "af13" {7006            enum "af13" {
6902              value 14;7007              value 14;
6903              description7008              description
6904                "Set packets with AF13 dscp (001110)";7009                "Set packets with AF13 dscp (001110)";
6905            }7010            }
6906            enum "cs2" {7011            enum "cs2" {
6907              value 16;7012              value 16;
6908              description7013              description
6909                "Set packets with CS2(precedence 2) dscp (010000)";7014                "Set packets with CS2(precedence 2) dscp (010000)";
6910            }7015            }
6911            enum "af21" {7016            enum "af21" {
6912              value 18;7017              value 18;
6913              description7018              description
6914                "Set packets with AF21 dscp (010010)";7019                "Set packets with AF21 dscp (010010)";
6915            }7020            }
6916            enum "af22" {7021            enum "af22" {
6917              value 20;7022              value 20;
6918              description7023              description
6919                "Set packets with AF22 dscp (010100)";7024                "Set packets with AF22 dscp (010100)";
6920            }7025            }
6921            enum "af23" {7026            enum "af23" {
6922              value 22;7027              value 22;
6923              description7028              description
6924                "Set packets with AF23 dscp (010110)";7029                "Set packets with AF23 dscp (010110)";
6925            }7030            }
6926            enum "cs3" {7031            enum "cs3" {
6927              value 24;7032              value 24;
6928              description7033              description
6929                "Set packets with CS3(precedence 3) dscp (011000)";7034                "Set packets with CS3(precedence 3) dscp (011000)";
6930            }7035            }
6931            enum "af31" {7036            enum "af31" {
6932              value 26;7037              value 26;
6933              description7038              description
6934                "Set packets with AF31 dscp (011010)";7039                "Set packets with AF31 dscp (011010)";
6935            }7040            }
6936            enum "af32" {7041            enum "af32" {
6937              value 28;7042              value 28;
6938              description7043              description
6939                "Set packets with AF32 dscp (011100)";7044                "Set packets with AF32 dscp (011100)";
6940            }7045            }
6941            enum "af33" {7046            enum "af33" {
6942              value 30;7047              value 30;
6943              description7048              description
6944                "Set packets with AF33 dscp (011110)";7049                "Set packets with AF33 dscp (011110)";
6945            }7050            }
6946            enum "cs4" {7051            enum "cs4" {
6947              value 32;7052              value 32;
6948              description7053              description
6949                "Set packets with CS4(precedence 4) dscp (100000)";7054                "Set packets with CS4(precedence 4) dscp (100000)";
6950            }7055            }
6951            enum "af41" {7056            enum "af41" {
6952              value 34;7057              value 34;
6953              description7058              description
6954                "Set packets with AF41 dscp (100010)";7059                "Set packets with AF41 dscp (100010)";
6955            }7060            }
6956            enum "af42" {7061            enum "af42" {
6957              value 36;7062              value 36;
6958              description7063              description
6959                "Set packets with AF42 dscp (100100)";7064                "Set packets with AF42 dscp (100100)";
6960            }7065            }
6961            enum "af43" {7066            enum "af43" {
6962              value 38;7067              value 38;
6963              description7068              description
6964                "Set packets with AF43 dscp (100110)";7069                "Set packets with AF43 dscp (100110)";
6965            }7070            }
6966            enum "cs5" {7071            enum "cs5" {
6967              value 40;7072              value 40;
6968              description7073              description
6969                "Set packets with CS5(precedence 5) dscp (101000)";7074                "Set packets with CS5(precedence 5) dscp (101000)";
6970            }7075            }
6971            enum "ef" {7076            enum "ef" {
6972              value 46;7077              value 46;
6973              description7078              description
6974                "Set packets with EF dscp (101110)";7079                "Set packets with EF dscp (101110)";
6975            }7080            }
6976            enum "cs6" {7081            enum "cs6" {
6977              value 48;7082              value 48;
6978              description7083              description
6979                "Set packets with CS6(precedence 6) dscp (110000)";7084                "Set packets with CS6(precedence 6) dscp (110000)";
6980            }7085            }
6981            enum "cs7" {7086            enum "cs7" {
6982              value 56;7087              value 56;
6983              description7088              description
6984                "Set packets with CS7(precedence 7) dscp (111000)";7089                "Set packets with CS7(precedence 7) dscp (111000)";
6985            }7090            }
6986          }7091          }
6987          description7092          description
6988            "Set IP DSCP (DiffServ CodePoint)";7093            "Set IP DSCP (DiffServ CodePoint)";
6989        }7094        }
6990        leaf precedence {7095        leaf precedence {
6991          type enumeration {7096          type enumeration {
6992            enum "routine" {7097            enum "routine" {
6993              value 0;7098              value 0;
6994              description7099              description
6995                "Set packets with routine precedence (0)";7100                "Set packets with routine precedence (0)";
6996            }7101            }
6997            enum "priority" {7102            enum "priority" {
6998              value 1;7103              value 1;
6999              description7104              description
7000                "Set packets with priority precedence (1)";7105                "Set packets with priority precedence (1)";
7001            }7106            }
7002            enum "immediate" {7107            enum "immediate" {
7003              value 2;7108              value 2;
7004              description7109              description
7005                "Set packets with immediate precedence (2)";7110                "Set packets with immediate precedence (2)";
7006            }7111            }
7007            enum "flash" {7112            enum "flash" {
7008              value 3;7113              value 3;
7009              description7114              description
7010                "Set packets with flash precedence (3)";7115                "Set packets with flash precedence (3)";
7011            }7116            }
7012            enum "flash-override" {7117            enum "flash-override" {
7013              value 4;7118              value 4;
7014              description7119              description
7015                "Set packets with flash override precedence (4)";7120                "Set packets with flash override precedence (4)";
7016            }7121            }
7017            enum "critical" {7122            enum "critical" {
7018              value 5;7123              value 5;
7019              description7124              description
7020                "Set packets with critical precedence (5)";7125                "Set packets with critical precedence (5)";
7021            }7126            }
7022            enum "internet" {7127            enum "internet" {
7023              value 6;7128              value 6;
7024              description7129              description
7025                "Set packets with internetwork control precedence (6)";7130                "Set packets with internetwork control precedence (6)";
7026            }7131            }
7027            enum "network" {7132            enum "network" {
7028              value 7;7133              value 7;
7029              description7134              description
7030                "Set packets with network control precedence (7)";7135                "Set packets with network control precedence (7)";
7031            }7136            }
7032          }7137          }
7033          description7138          description
7034            "Set precedence";7139            "Set precedence";
7035        }7140        }
7036        container capability {7141        container capability {
7037          description7142          description
7038            "Advertise capability to the peer";7143            "Advertise capability to the peer";
7039          container suppress {7144          container suppress {
7040            description7145            description
7041              "Suppress advertising capability to the peer ";7146              "Suppress advertising capability to the peer ";
7042            container four-byte-as {7147            container four-byte-as {
7043              presence "Indicates a four-byte-as node is configured.";7148              presence "Indicates a four-byte-as node is configured.";
7044              description7149              description
7045                "4-byte-as capability";7150                "4-byte-as capability";
7046              container inheritance-disable {7151              container inheritance-disable {
7047                presence "Indicates a inheritance-disable node is configured.";7152                presence "Indicates a inheritance-disable node is configured.";
7048                description7153                description
7049                  "Prevent capability suppress 4-type-as being inherited from the parent";7154                  "Prevent capability suppress 4-type-as being inherited from the parent";
7050              }7155              }
7051            }7156            }
7052            container all {7157            container all {
7053              presence "Indicates a all node is configured.";7158              presence "Indicates a all node is configured.";
7054              description7159              description
7055                "All capabilities";7160                "All capabilities";
7056              container inheritance-disable {7161              container inheritance-disable {
7057                presence "Indicates a inheritance-disable node is configured.";7162                presence "Indicates a inheritance-disable node is configured.";
7058                description7163                description
7059                  "Do not inherit this configuration from parent group";7164                  "Do not inherit this configuration from parent group";
7060              }7165              }
7061            }7166            }
7062            container extended-nexthop-encoding {7167            container extended-nexthop-encoding {
7063              presence "Indicates a extended-nexthop-encoding node is configured.";7168              presence "Indicates a extended-nexthop-encoding node is configured.";
7064              description7169              description
7065                "Extended-nexthop-encoding capabilities (IETF RFC 5549)";7170                "Extended-nexthop-encoding capabilities (IETF RFC 5549)";
7066              container inheritance-disable {7171              container inheritance-disable {
7067                presence "Indicates a inheritance-disable node is configured.";7172                presence "Indicates a inheritance-disable node is configured.";
7068                description7173                description
7069                  "Do not inherit this configuration from parent group";7174                  "Do not inherit this configuration from parent group";
7070              }7175              }
7071            }7176            }
7072          }7177          }
7073          container additional-paths {7178          container additional-paths {
7074            description7179            description
7075              "Additional paths capability";7180              "Additional paths capability";
7076            container send {7181            container send {
7077              presence "Indicates a send node is configured.";7182              presence "Indicates a send node is configured.";
7078              description7183              description
7079                "Additional paths Send capability";7184                "Additional paths Send capability";
7080              container disable {7185              container disable {
7081                presence "Indicates a disable node is configured.";7186                presence "Indicates a disable node is configured.";
7082                description7187                description
7083                  "Do not advertise additional paths Send capability";7188                  "Do not advertise additional paths Send capability";
7084              }7189              }
7085            }7190            }
7086            container receive {7191            container receive {
7087              presence "Indicates a receive node is configured.";7192              presence "Indicates a receive node is configured.";
7088              description7193              description
7089                "Additional paths Receive capability";7194                "Additional paths Receive capability";
7090              container disable {7195              container disable {
7091                presence "Indicates a disable node is configured.";7196                presence "Indicates a disable node is configured.";
7092                description7197                description
7093                  "Do not advertise additional paths Receive capability";7198                  "Do not advertise additional paths Receive capability";
7094              }7199              }
7095            }7200            }
7096          }7201          }
7097        }7202        }
7098        container graceful-restart {7203        container graceful-restart {
7099          presence "Indicates a graceful-restart node is configured.";7204          presence "Indicates a graceful-restart node is configured.";
7100          description7205          description
7101            "Enable graceful restart support for this neighbor";7206            "Enable graceful restart support for this neighbor";
7102          container disable {7207          container disable {
7103            presence "Indicates a disable node is configured.";7208            presence "Indicates a disable node is configured.";
7104            description7209            description
7105              "Disable graceful restart support for this neighbor";7210              "Disable graceful restart support for this neighbor";
7106          }7211          }
7107          leaf restart-time {7212          leaf restart-time {
7108            type uint32 {7213            type uint32 {
7109              range "1..4095" {7214              range "1..4095" {
7110                description7215                description
7111                  "Max time (seconds)";7216                  "Max time (seconds)";
7112              }7217              }
7113            }7218            }
7114            description7219            description
7115              "Restart time advertised to the neighbor";7220              "Restart time advertised to the neighbor";
7116          }7221          }
7117          leaf stalepath-time {7222          leaf stalepath-time {
7118            type uint32 {7223            type uint32 {
7119              range "1..4095" {7224              range "1..4095" {
7120                description7225                description
7121                  "Max time (seconds)";7226                  "Max time (seconds)";
7122              }7227              }
7123            }7228            }
7124            description7229            description
7125              "Maximum time to wait for restart of GR capable peer";7230              "Maximum time to wait for restart of GR capable peer";
7126          }7231          }
7127        }7232        }
7128        container enforce-first-as {7233        container enforce-first-as {
7129          presence "Indicates a enforce-first-as node is configured.";7234          presence "Indicates a enforce-first-as node is configured.";
7130          description7235          description
7131            "Enforce the first AS for EBGP routes";7236            "Enforce the first AS for EBGP routes";
7132          container disable {7237          container disable {
7133            presence "Indicates a disable node is configured.";7238            presence "Indicates a disable node is configured.";
7134            description7239            description
7135              "Do not enforce the first AS for EBGP routes";7240              "Do not enforce the first AS for EBGP routes";
7136          }7241          }
7137        }7242        }
7138        container cluster-id {7243        container cluster-id {
7139          description7244          description
7140            "Enter cluster id for this neighbor";7245            "Enter cluster id for this neighbor";
7141          leaf route-reflector-cluster-id {7246          leaf route-reflector-cluster-id {
7142            type uint32 {7247            type uint32 {
7143              range "1..4294967295" {7248              range "1..4294967295" {
7144                description7249                description
7145                  "Route-Reflector Cluster-id as 32 bit quantity";7250                  "Route-Reflector Cluster-id as 32 bit quantity";
7146              }7251              }
7147            }7252            }
7148            description7253            description
7149              "Route-Reflector Cluster-id as 32 bit quantity";7254              "Route-Reflector Cluster-id as 32 bit quantity";
7150          }7255          }
7151          leaf ip-address {7256          leaf ip-address {
7152            type inet:ipv4-address-no-zone;7257            type inet:ipv4-address-no-zone;
7153            description7258            description
7154              "Route-Reflector Cluster-id in IP address format";7259              "Route-Reflector Cluster-id in IP address format";
7155          }7260          }
7156        }7261        }
7157        leaf maximum-peers {7262        leaf maximum-peers {
7158          type uint32 {7263          type uint32 {
7159            range "1..4095" {7264            range "1..4095" {
7160              description7265              description
7161                "Maximum number of peers";7266                "Maximum number of peers";
7162            }7267            }
7163          }7268          }
7164          description7269          description
7165            "Maximum dynamic neighbors";7270            "Maximum dynamic neighbors";
7166        }7271        }
7167        leaf idle-watch-time {7272        leaf idle-watch-time {
7168          type uint32 {7273          type uint32 {
7169            range "30..1800" {7274            range "30..1800" {
7170              description7275              description
7171                "Max time (seconds)";7276                "Max time (seconds)";
7172            }7277            }
7173          }7278          }
7174          description7279          description
7175            "Maximum time to wait for deletion of IDLE state dynamic peer";7280            "Maximum time to wait for deletion of IDLE state dynamic peer";
7176        }7281        }
7177        container egress-engineering {7282        container egress-engineering {
7178          presence "Indicates a egress-engineering node is configured.";7283          presence "Indicates a egress-engineering node is configured.";
7179          description7284          description
7180            "Enable egress peer engineering for this neighbor";7285            "Enable egress peer engineering for this neighbor";
7181          container inheritance-disable {7286          container inheritance-disable {
7182            presence "Indicates a inheritance-disable node is configured.";7287            presence "Indicates a inheritance-disable node is configured.";
7183            description7288            description
7184              "Do not inherit egress-engineering from the parent";7289              "Do not inherit egress-engineering from the parent";
7185          }7290          }
7186        }7291        }
7187        container peer-sets {7292        container peer-sets {
7188          description7293          description
7189            "Assign this neighbor to a peer-set used for egress peer engineering";7294            "Assign this neighbor to a peer-set used for egress peer engineering";
7190          list peer-set {7295          list peer-set {
7191            key "peer-set-id";7296            key "peer-set-id";
7192            description7297            description
7193              "Assign this neighbor to a peer-set used for egress peer engineering";7298              "Assign this neighbor to a peer-set used for egress peer engineering";
7194            leaf peer-set-id {7299            leaf peer-set-id {
7195              type uint32 {7300              type uint32 {
7196                range "1..255" {7301                range "1..255" {
7197                  description7302                  description
7198                    "Identity value of peer-set";7303                    "Identity value of peer-set";
7199                }7304                }
7200              }7305              }
7201              description7306              description
7202                "Assign this neighbor to a peer-set used for egress peer engineering";7307                "Assign this neighbor to a peer-set used for egress peer engineering";
7203            }7308            }
7204          }7309          }
7205        }7310        }
7206        container peer-node-sid {7311        container peer-node-sid {
7207          description7312          description
7208            "Assign this neighbor a manual SID for egress peer engineering";7313            "Assign this neighbor a manual SID for egress peer engineering";
7209          leaf index {7314          leaf index {
7210            type uint32 {7315            type uint32 {
7211              range "0..1033575" {7316              range "0..1033575" {
7212                description7317                description
7213                  "Segment Index to be assigned to this peer. The index will be off SRLB7318                  "Segment Index to be assigned to this peer. The index will be off SRLB
7214                   Note: Thmaximum index configurable in dynaminc SRLB range.7319                   Note: Thmaximum index configurable in dynaminc SRLB range.
7215                   Since SRa dynamic range, actual maximum index can vary.7320                   Since SRa dynamic range, actual maximum index can vary.
7216                   So pleasthe currently configured SRLB range";7321                   So pleasthe currently configured SRLB range";
7217              }7322              }
7218            }7323            }
7219            description7324            description
7220              "Segment Index value which is offset of SRLB";7325              "Segment Index value which is offset of SRLB";
7221          }7326          }
7222        }7327        }
7223        container ao {7328        container ao {
7224          description7329          description
7225            "Enable Authentiation Option";7330            "Enable Authentiation Option";
7226          leaf key-chain-name {7331          leaf key-chain-name {
7227            type string {7332            type string {
7228              length "1..32" {7333              length "1..32" {
7229                description7334                description
7230                  "Name of the key chain - maximum 32 characters";7335                  "Name of the key chain - maximum 32 characters";
7231              }7336              }
7232            }7337            }
7233            must "not(../inheritance-disable) and (../include-tcp-options/enable or ../include-tcp-options/disable)";7338            must "not(../inheritance-disable) and (../include-tcp-options/enable or ../include-tcp-options/disable)";
7234            description7339            description
7235              "Name of the key chain - maximum 32 characters";7340              "Name of the key chain - maximum 32 characters";
7236          }7341          }
7237          container include-tcp-options {7342          container include-tcp-options {
7238            description7343            description
7239              "Include/Exclude other TCP options in the header";7344              "Include/Exclude other TCP options in the header";
7240            container enable {7345            container enable {
7241              must "not(../disable or ../../inheritance-disable)";7346              must "not(../disable or ../../inheritance-disable)";
7242              presence "Indicates a enable node is configured.";7347              presence "Indicates a enable node is configured.";
7243              description7348              description
7244                "Include other TCP options in the header";7349                "Include other TCP options in the header";
7245            }7350            }
7246            container disable {7351            container disable {
7247              must "not(../enable or ../../inheritance-disable)";7352              must "not(../enable or ../../inheritance-disable)";
7248              presence "Indicates a disable node is configured.";7353              presence "Indicates a disable node is configured.";
7249              description7354              description
7250                "Exclude other TCP options in the header";7355                "Exclude other TCP options in the header";
7251            }7356            }
7252            container accept-ao-mismatch-connection {7357            container accept-ao-mismatch-connection {
7253              must "../enable or ../disable";7358              must "../enable or ../disable";
7254              presence "Indicates a accept-ao-mismatch-connection node is configured.";7359              presence "Indicates a accept-ao-mismatch-connection node is configured.";
7255              description7360              description
7256                "Accept new connection even if AO mismatched";7361                "Accept new connection even if AO mismatched";
7257            }7362            }
7258          }7363          }
7259          container inheritance-disable {7364          container inheritance-disable {
7260            must "not(../key-chain-name)";7365            must "not(../key-chain-name)";
7261            presence "Indicates a inheritance-disable node is configured.";7366            presence "Indicates a inheritance-disable node is configured.";
7262            description7367            description
7263              "Prevent keychain from being inherited from parent";7368              "Prevent keychain from being inherited from parent";
7264          }7369          }
7265        }7370        }
7266        container origin-as {7371        container origin-as {
7267          description7372          description
7268            "BGP origin-AS knobs";7373            "BGP origin-AS knobs";
7269          container validation {7374          container validation {
7270            description7375            description
7271              "BGP origin-AS validation knobs";7376              "BGP origin-AS validation knobs";
7272            container disable {7377            container disable {
7273              presence "Indicates a disable node is configured.";7378              presence "Indicates a disable node is configured.";
7274              description7379              description
7275                "Disable RPKI origin-AS validation";7380                "Disable RPKI origin-AS validation";
7276            }7381            }
7277          }7382          }
7278        }7383        }
7279        container bestpath {7384        container bestpath {
7280          description7385          description
7281            "Change default route selection criteria";7386            "Change default route selection criteria";
7282          container origin-as {7387          container origin-as {
7283            description7388            description
7284              "BGP origin-AS knobs";7389              "BGP origin-AS knobs";
7285            container allow {7390            container allow {
7286              description7391              description
7287                "BGP origin-AS knobs";7392                "BGP origin-AS knobs";
7288              container invalid {7393              container invalid {
7289                presence "Indicates a invalid node is configured.";7394                presence "Indicates a invalid node is configured.";
7290                description7395                description
7291                  "BGP bestpath selection will allow 'invalid' origin-AS";7396                  "BGP bestpath selection will allow 'invalid' origin-AS";
7292              }7397              }
7293            }7398            }
7294          }7399          }
7295        }7400        }
7296      }7401      }
7297    }7402    }
7298    container af-groups {7403    container af-groups {
7299      description7404      description
7300        "Specify a AF group";7405        "Specify a AF group";
7301      list af-group {7406      list af-group {
7302        must "address-families/address-family";7407        must "address-families/address-family";
7303        key "af-group-name";7408        key "af-group-name";
7304        description7409        description
7305          "Specify a AF group";7410          "Specify a AF group";
7306        leaf af-group-name {7411        leaf af-group-name {
7307          type xr:Cisco-ios-xr-string {7412          type xr:Cisco-ios-xr-string {
7308            length "1..1024" {7413            length "1..1024" {
7309              description7414              description
7310                "AF group name";7415                "AF group name";
7311            }7416            }
7312          }7417          }
7313          description7418          description
7314            "Specify a AF group";7419            "Specify a AF group";
7315        }7420        }
7316        container address-families {7421        container address-families {
7317          description7422          description
7318            "Enter Address Family command mode";7423            "Enter Address Family command mode";
7319          list address-family {7424          list address-family {
7320            key "af-name";7425            key "af-name";
7321            description7426            description
7322              "Enter Address Family command mode";7427              "Enter Address Family command mode";
7323            leaf af-name {7428            leaf af-name {
7324              type Bgp-address-family;7429              type Bgp-address-family;
7325              description7430              description
7326                "Enter Address Family command mode";7431                "Enter Address Family command mode";
7327            }7432            }
7328            container use {7433            container use {
7329              description7434              description
7330                "Inherit configuration for this address-family from a group";7435                "Inherit configuration for this address-family from a group";
7331              leaf af-group {7436              leaf af-group {
7332                type string {7437                type string {
7333                  length "1..1024" {7438                  length "1..1024" {
7334                    description7439                    description
7335                      "AF group name";7440                      "AF group name";
7336                  }7441                  }
7337                }7442                }
7338                description7443                description
7339                  "Inherit configuration for this address-family from an af-group";7444                  "Inherit configuration for this address-family from an af-group";
7340              }7445              }
7341            }7446            }
7342            container capability {7447            container capability {
7343              description7448              description
7344                "Advertise capability to the peer";7449                "Advertise capability to the peer";
7345              container orf {7450              container orf {
7346                description7451                description
7347                  "Advertise ORF capability to the peer";7452                  "Advertise ORF capability to the peer";
7348                container prefix {7453                container prefix {
7349                  description7454                  description
7350                    "Advertise address prefix ORF capability to this neighbor";7455                    "Advertise address prefix ORF capability to this neighbor";
7351                  container receive {7456                  container receive {
7352                    must "not(../send or ../both or ../none)";7457                    must "not(../send or ../both or ../none)";
7353                    presence "Indicates a receive node is configured.";7458                    presence "Indicates a receive node is configured.";
7354                    description7459                    description
7355                      "Capability to RECEIVE the ORF from this neighbor";7460                      "Capability to RECEIVE the ORF from this neighbor";
7356                  }7461                  }
7357                  container send {7462                  container send {
7358                    must "not(../receive or ../both or ../none)";7463                    must "not(../receive or ../both or ../none)";
7359                    presence "Indicates a send node is configured.";7464                    presence "Indicates a send node is configured.";
7360                    description7465                    description
7361                      "Capability to SEND the ORF to this neighbor";7466                      "Capability to SEND the ORF to this neighbor";
7362                  }7467                  }
7363                  container both {7468                  container both {
7364                    must "not(../receive or ../send or ../none)";7469                    must "not(../receive or ../send or ../none)";
7365                    presence "Indicates a both node is configured.";7470                    presence "Indicates a both node is configured.";
7366                    description7471                    description
7367                      "Capability to RECEIVE and SEND the ORF from/to this neighbor";7472                      "Capability to RECEIVE and SEND the ORF from/to this neighbor";
7368                  }7473                  }
7369                  container none {7474                  container none {
7370                    must "not(../receive or ../send or ../both)";7475                    must "not(../receive or ../send or ../both)";
7371                    presence "Indicates a none node is configured.";7476                    presence "Indicates a none node is configured.";
7372                    description7477                    description
7373                      "No capability to RECEIVE or SEND the ORF from/to this neighbor";7478                      "No capability to RECEIVE or SEND the ORF from/to this neighbor";
7374                  }7479                  }
7375                }7480                }
7376              }7481              }
7377            }7482            }
7378            container default-originate {7483            container default-originate {
7379              presence "Indicates a default-originate node is configured.";7484              presence "Indicates a default-originate node is configured.";
7380              description7485              description
7381                "Originate default route to this neighbor";7486                "Originate default route to this neighbor";
7382              leaf route-policy {7487              leaf route-policy {
7383                type xr:Route-policy-name;7488                type xr:Route-policy-name;
7384                description7489                description
7385                  "Route policy to specify criteria to originate default";7490                  "Route policy to specify criteria to originate default";
7386              }7491              }
7387              container inheritance-disable {7492              container inheritance-disable {
7388                must "not(../route-policy)";7493                must "not(../route-policy)";
7389                presence "Indicates a inheritance-disable node is configured.";7494                presence "Indicates a inheritance-disable node is configured.";
7390                description7495                description
7391                  "Prevent default-originate being inherited from a parent group";7496                  "Prevent default-originate being inherited from a parent group";
7392              }7497              }
7393            }7498            }
7394            container maximum-prefix {7499            container maximum-prefix {
7395              presence "Indicates a maximum-prefix node is configured.";7500              presence "Indicates a maximum-prefix node is configured.";
7396              description7501              description
7397                "Maximum number of prefixes to accept from this peer";7502                "Maximum number of prefixes to accept from this peer";
7398              leaf prefix-limit {7503              leaf prefix-limit {
7399                type uint32 {7504                type uint32 {
7400                  range "1..4294967295" {7505                  range "1..4294967295" {
7401                    description7506                    description
7402                      "maximum no. of prefix limit";7507                      "maximum no. of prefix limit";
7403                  }7508                  }
7404                }7509                }
7405                mandatory true;7510                mandatory true;
7406                description7511                description
7407                  "Maximum number of prefixes to accept from this peer";7512                  "Maximum number of prefixes to accept from this peer";
7408              }7513              }
7409              leaf threshold {7514              leaf threshold {
7410                type uint32 {7515                type uint32 {
7411                  range "1..100" {7516                  range "1..100" {
7412                    description7517                    description
7413                      "Threshold value (%) at which to generate a warning msg";7518                      "Threshold value (%) at which to generate a warning msg";
7414                  }7519                  }
7415                }7520                }
7416                mandatory true;7521                mandatory true;
7417                description7522                description
7418                  "Threshold value (%) at which to generate a warning msg";7523                  "Threshold value (%) at which to generate a warning msg";
7419              }7524              }
7420              container warning-only {7525              container warning-only {
7421                presence "Indicates a warning-only node is configured.";7526                presence "Indicates a warning-only node is configured.";
7422                description7527                description
7423                  "Only give warning message when limit is exceeded";7528                  "Only give warning message when limit is exceeded";
7424              }7529              }
7425              leaf restart {7530              leaf restart {
7426                type uint32 {7531                type uint32 {
7427                  range "1..65535" {7532                  range "1..65535" {
7428                    description7533                    description
7429                      "Time interval (min) after which peering session will be reestablished";7534                      "Time interval (min) after which peering session will be reestablished";
7430                  }7535                  }
7431                }7536                }
7432                description7537                description
7433                  "Restart time interval";7538                  "Restart time interval";
7434              }7539              }
7435              container discard-extra-paths {7540              container discard-extra-paths {
7436                presence "Indicates a discard-extra-paths node is configured.";7541                presence "Indicates a discard-extra-paths node is configured.";
7437                description7542                description
7438                  "Discard extra paths when limit is exceeded";7543                  "Discard extra paths when limit is exceeded";
7439              }7544              }
7440            }7545            }
7441            leaf optimal-route-reflection {7546            leaf optimal-route-reflection {
7442              type string {7547              type string {
7443                length "1..32" {7548                length "1..32" {
7444                  description7549                  description
7445                    "ORR group name - maximum 32 characters";7550                    "ORR group name - maximum 32 characters";
7446                }7551                }
7447              }7552              }
7448              description7553              description
7449                "ORR group name - maximum 32 characters";7554                "ORR group name - maximum 32 characters";
7450            }7555            }
7451            container next-hop-self {7556            container next-hop-self {
7452              presence "Indicates a next-hop-self node is configured.";7557              presence "Indicates a next-hop-self node is configured.";
7453              description7558              description
7454                "Disable the next hop calculation for this neighbor";7559                "Disable the next hop calculation for this neighbor";
7455              container inheritance-disable {7560              container inheritance-disable {
7456                presence "Indicates a inheritance-disable node is configured.";7561                presence "Indicates a inheritance-disable node is configured.";
7457                description7562                description
7458                  "Prevent next-hop-self from being inherited from the parent";7563                  "Prevent next-hop-self from being inherited from the parent";
7459              }7564              }
7460            }7565            }
7461            container next-hop-unchanged {7566            container next-hop-unchanged {
7462              presence "Indicates a next-hop-unchanged node is configured.";7567              presence "Indicates a next-hop-unchanged node is configured.";
7463              description7568              description
7464                "Do not overwrite next hop before advertising to eBGP peers";7569                "Do not overwrite next hop before advertising to eBGP peers";
7465              container inheritance-disable {7570              container inheritance-disable {
7466                presence "Indicates a inheritance-disable node is configured.";7571                presence "Indicates a inheritance-disable node is configured.";
7467                description7572                description
7468                  "Prevent next-hop-unchanged from being inherited from the parent";7573                  "Prevent next-hop-unchanged from being inherited from the parent";
7469              }7574              }
7470            }7575            }
7471            container next-hop-unchanged-multipath {7576            container next-hop-unchanged-multipath {
7472              presence "Indicates a next-hop-unchanged-multipath node is configured.";7577              presence "Indicates a next-hop-unchanged-multipath node is configured.";
7473              description7578              description
7474                "Do not overwrite nexthop before advertising multipaths";7579                "Do not overwrite nexthop before advertising multipaths";
7475            }7580            }
7476            container multipath {7581            container multipath {
7477              presence "Indicates a multipath node is configured.";7582              presence "Indicates a multipath node is configured.";
7478              description7583              description
7479                "Paths from this neighbor is eligible for multipath";7584                "Paths from this neighbor is eligible for multipath";
7480            }7585            }
7481            container slow-peer {7586            container slow-peer {
7482              description7587              description
7483                "Configure this neighbor as slow-peer";7588                "Configure this neighbor as slow-peer";
7484              container static {7589              container static {
7485                must "not(../dynamic)";7590                must "not(../dynamic)";
7486                presence "Indicates a static node is configured.";7591                presence "Indicates a static node is configured.";
7487                description7592                description
7488                  "Configure this neighbor as static slow-peer";7593                  "Configure this neighbor as static slow-peer";
7489              }7594              }
7490              container dynamic {7595              container dynamic {
7491                must "not(../static)";7596                must "not(../static)";
7492                presence "Indicates a dynamic node is configured.";7597                presence "Indicates a dynamic node is configured.";
7493                description7598                description
7494                  "Configure this neighbor as dynamic slow-peer";7599                  "Configure this neighbor as dynamic slow-peer";
7495                leaf threshold {7600                leaf threshold {
7496                  type uint16 {7601                  type uint16 {
7497                    range "120..3600" {7602                    range "120..3600" {
7498                      description7603                      description
7499                        "Threshold (in seconds) to detect this neighbor as slow-peer";7604                        "Threshold (in seconds) to detect this neighbor as slow-peer";
7500                    }7605                    }
7501                  }7606                  }
7502                  description7607                  description
7503                    "Threshold (in seconds) to detect this neighbor as slow-peer";7608                    "Threshold (in seconds) to detect this neighbor as slow-peer";
7504                }7609                }
7505                container disable {7610                container disable {
7506                  presence "Indicates a disable node is configured.";7611                  presence "Indicates a disable node is configured.";
7507                  description7612                  description
7508                    "Disable dynamic slow-peer";7613                    "Disable dynamic slow-peer";
7509                }7614                }
7510              }7615              }
7511            }7616            }
7512            container origin-as {7617            container origin-as {
7513              description7618              description
7514                "BGP origin-AS knobs";7619                "BGP origin-AS knobs";
7515              container validation {7620              container validation {
7516                description7621                description
7517                  "BGP origin-AS validation knobs";7622                  "BGP origin-AS validation knobs";
7518                container disable {7623                container disable {
7519                  presence "Indicates a disable node is configured.";7624                  presence "Indicates a disable node is configured.";
7520                  description7625                  description
7521                    "Disable RPKI origin-AS validation";7626                    "Disable RPKI origin-AS validation";
7522                }7627                }
7523              }7628              }
7524            }7629            }
7525            container bestpath {7630            container bestpath {
7526              description7631              description
7527                "Change default route selection criteria";7632                "Change default route selection criteria";
7528              container origin-as {7633              container origin-as {
7529                description7634                description
7530                  "BGP origin-AS knobs";7635                  "BGP origin-AS knobs";
7531                container allow {7636                container allow {
7532                  description7637                  description
7533                    "BGP origin-AS knobs";7638                    "BGP origin-AS knobs";
7534                  container invalid {7639                  container invalid {
7535                    presence "Indicates a invalid node is configured.";7640                    presence "Indicates a invalid node is configured.";
7536                    description7641                    description
7537                      "BGP bestpath selection will allow 'invalid' origin-AS";7642                      "BGP bestpath selection will allow 'invalid' origin-AS";
7538                  }7643                  }
7539                }7644                }
7540              }7645              }
7541            }7646            }
7542            container route-policy {7647            container route-policy {
7543              description7648              description
7544                "Apply route policy";7649                "Apply route policy";
7545              leaf in {7650              leaf in {
7546                type xr:Route-policy-name;7651                type xr:Route-policy-name;
7547                description7652                description
7548                  "Apply route policy to inbound routes";7653                  "Apply route policy to inbound routes";
7549              }7654              }
7550              leaf out {7655              leaf out {
7551                type xr:Route-policy-name;7656                type xr:Route-policy-name;
7552                description7657                description
7553                  "Apply route policy to outbound routes";7658                  "Apply route policy to outbound routes";
7554              }7659              }
7555              container retention {7660              container retention {
7556                description7661                description
7557                  "Apply retention policy to inbound routes";7662                  "Apply retention policy to inbound routes";
7558                leaf route-policy-name {7663                leaf route-policy-name {
7559                  type xr:Route-policy-name;7664                  type xr:Route-policy-name;
7560                  must "../retention-time";7665                  must "../retention-time";
7561                  description7666                  description
7562                    "Apply retention policy to inbound routes";7667                    "Apply retention policy to inbound routes";
7563                }7668                }
7564                leaf retention-time {7669                leaf retention-time {
7565                  type uint32 {7670                  type uint32 {
7566                    range "0..4294967295" {7671                    range "0..4294967295" {
7567                      description7672                      description
7568                        "Max time (seconds)";7673                        "Max time (seconds)";
7569                    }7674                    }
7570                  }7675                  }
7571                  must "../route-policy-name";7676                  must "../route-policy-name";
7572                  description7677                  description
7573                    "Retention-time for this neighbor";7678                    "Retention-time for this neighbor";
7574                }7679                }
7575              }7680              }
7576            }7681            }
7577            container orf {7682            container orf {
7578              description7683              description
7579                "Specify ORF and inbound filtering criteria";7684                "Specify ORF and inbound filtering criteria";
7580              leaf route-policy {7685              leaf route-policy {
7581                type xr:Route-policy-name;7686                type xr:Route-policy-name;
7582                description7687                description
7583                  "Route policy to specify ORF and inbound filter";7688                  "Route policy to specify ORF and inbound filter";
7584              }7689              }
7585            }7690            }
7586            container replace-private-as {7691            container replace-private-as {
7587              presence "Indicates a replace-private-as node is configured.";7692              presence "Indicates a replace-private-as node is configured.";
7588              description7693              description
7589                "Replace private AS number from outbound updates";7694                "Replace private AS number from outbound updates";
7590              container internal {7695              container internal {
7591                description7696                description
7592                  "remove only if all ASes in the path are private";7697                  "remove only if all ASes in the path are private";
7593              }7698              }
7594            }7699            }
7595            container remove-private-as {7700            container remove-private-as {
7596              presence "Indicates a remove-private-as node is configured.";7701              presence "Indicates a remove-private-as node is configured.";
7597              description7702              description
7598                "Remove private AS number from outbound updates";7703                "Remove private AS number from outbound updates";
7599              container entire-aspath {7704              container entire-aspath {
7600                must "not(../inheritance-disable or ../internal)";7705                must "not(../inheritance-disable or ../internal)";
7601                presence "Indicates a entire-aspath node is configured.";7706                presence "Indicates a entire-aspath node is configured.";
7602                description7707                description
7603                  "remove only if all ASes in the path are private";7708                  "remove only if all ASes in the path are private";
7604              }7709              }
7605              container inheritance-disable {7710              container inheritance-disable {
7606                must "not(../entire-aspath or ../internal)";7711                must "not(../entire-aspath or ../internal)";
7607                presence "Indicates a inheritance-disable node is configured.";7712                presence "Indicates a inheritance-disable node is configured.";
7608                description7713                description
7609                  "Prevent remove-private-AS from being inherited from the parent";7714                  "Prevent remove-private-AS from being inherited from the parent";
7610              }7715              }
7611              container internal {7716              container internal {
7612                must "not(../entire-aspath or ../inheritance-disable)";7717                must "not(../entire-aspath or ../inheritance-disable)";
7613                presence "Indicates a inheritance-disable node is configured.";7718                presence "Indicates a inheritance-disable node is configured.";
7614                description7719                description
7615                  "remove only if all ASes in the path are private";7720                  "remove only if all ASes in the path are private";
7616                container inheritance-disable {7721                container inheritance-disable {
7617                  presence "Indicates a inheritance-disable node is configured.";7722                  presence "Indicates a inheritance-disable node is configured.";
7618                  description7723                  description
7619                    "Prevent remove-private-AS from being inherited from the parent";7724                    "Prevent remove-private-AS from being inherited from the parent";
7620                }7725                }
7621              }7726              }
7622            }7727            }
7623            container remove-private-as-inbound {7728            container remove-private-as-inbound {
7624              must "not(entire-aspath and inheritance-disable)";7729              must "not(entire-aspath and inheritance-disable)";
7625              presence "Indicates a inbound node is configured.";7730              presence "Indicates a inbound node is configured.";
7626              description7731              description
7627                "Remove private AS number from inbound updates";7732                "Remove private AS number from inbound updates";
7628              container entire-aspath {7733              container entire-aspath {
7629                presence "Indicates a entire-aspath node is configured.";7734                presence "Indicates a entire-aspath node is configured.";
7630                description7735                description
7631                  "remove only if all ASes in the path are private";7736                  "remove only if all ASes in the path are private";
7632              }7737              }
7633              container inheritance-disable {7738              container inheritance-disable {
7634                presence "Indicates a inheritance-disable node is configured.";7739                presence "Indicates a inheritance-disable node is configured.";
7635                description7740                description
7636                  "Prevent remove-private-AS from being inherited from the parent";7741                  "Prevent remove-private-AS from being inherited from the parent";
7637              }7742              }
7638            }7743            }
7639            container enforce-multiple-labels {7744            container enforce-multiple-labels {
7640              presence "Indicates a enforce-multiple-labels node is configured.";7745              presence "Indicates a enforce-multiple-labels node is configured.";
7641              description7746              description
7642                "Enforce support for multiple labels (requires manual session flap)";7747                "Enforce support for multiple labels (requires manual session flap)";
7643              container inheritance-disable {7748              container inheritance-disable {
7644                presence "Indicates a inheritance-disable node is configured.";7749                presence "Indicates a inheritance-disable node is configured.";
7645                description7750                description
7646                  "Prevent enforce-multiple-labels from being inherited from the parent";7751                  "Prevent enforce-multiple-labels from being inherited from the parent";
7647              }7752              }
7648            }7753            }
7649            container route-reflector-client {7754            container route-reflector-client {
7650              presence "Indicates a route-reflector-client node is configured.";7755              presence "Indicates a route-reflector-client node is configured.";
7651              description7756              description
7652                "Configure a neighbor as Route Reflector client";7757                "Configure a neighbor as Route Reflector client";
7653              container inheritance-disable {7758              container inheritance-disable {
7654                presence "Indicates a inheritance-disable node is configured.";7759                presence "Indicates a inheritance-disable node is configured.";
7655                description7760                description
7656                  "Prevent route-reflector-client from being inherited from the parent";7761                  "Prevent route-reflector-client from being inherited from the parent";
7657              }7762              }
7658            }7763            }
7659            container accept-route-legacy-rt {7764            container accept-route-legacy-rt {
7660              presence "Indicates a accept-route-legacy-rt node is configured.";7765              presence "Indicates a accept-route-legacy-rt node is configured.";
7661              description7766              description
7662                "Configure a neighbor to support legacy PE for RT-Constraint AF";7767                "Configure a neighbor to support legacy PE for RT-Constraint AF";
7663              container inheritance-disable {7768              container inheritance-disable {
7664                presence "Indicates a inheritance-disable node is configured.";7769                presence "Indicates a inheritance-disable node is configured.";
7665                description7770                description
7666                  "Prevent  accept-route-legacy-RT from being inherited from the parent";7771                  "Prevent  accept-route-legacy-RT from being inherited from the parent";
7667              }7772              }
7668            }7773            }
7669            container send-community-ebgp {7774            container send-community-ebgp {
7670              presence "Indicates a send-community-ebgp node is configured.";7775              presence "Indicates a send-community-ebgp node is configured.";
7671              description7776              description
7672                "Send community attribute to this external neighbor";7777                "Send community attribute to this external neighbor";
7673              container inheritance-disable {7778              container inheritance-disable {
7674                presence "Indicates a inheritance-disable node is configured.";7779                presence "Indicates a inheritance-disable node is configured.";
7675                description7780                description
7676                  "Prevent send-community-ebgp from being inherited from the parent";7781                  "Prevent send-community-ebgp from being inherited from the parent";
7677              }7782              }
7678            }7783            }
7679            container send-community-gshut-ebgp {7784            container send-community-gshut-ebgp {
7680              presence "Indicates a send-community-gshut-ebgp node is configured.";7785              presence "Indicates a send-community-gshut-ebgp node is configured.";
7681              description7786              description
7682                "Allow the g-shut community to be sent to this external neighbor";7787                "Allow the g-shut community to be sent to this external neighbor";
7683              container inheritance-disable {7788              container inheritance-disable {
7684                presence "Indicates a inheritance-disable node is configured.";7789                presence "Indicates a inheritance-disable node is configured.";
7685                description7790                description
7686                  "Prevent send-community-gshut-ebgp from being inherited from the parent";7791                  "Prevent send-community-gshut-ebgp from being inherited from the parent";
7687              }7792              }
7688            }7793            }
7689            container send-extended-community-ebgp {7794            container send-extended-community-ebgp {
7690              presence "Indicates a send-extended-community-ebgp node is configured.";7795              presence "Indicates a send-extended-community-ebgp node is configured.";
7691              description7796              description
7692                "Send extended community attribute to this external neighbor";7797                "Send extended community attribute to this external neighbor";
7693              container inheritance-disable {7798              container inheritance-disable {
7694                presence "Indicates a inheritance-disable node is configured.";7799                presence "Indicates a inheritance-disable node is configured.";
7695                description7800                description
7696                  "Prevent send-extended-community-ebgp from being inherited from parent";7801                  "Prevent send-extended-community-ebgp from being inherited from parent";
7697              }7802              }
7698            }7803            }
7699            container soft-reconfiguration {7804            container soft-reconfiguration {
7700              description7805              description
7701                "Per neighbor soft reconfiguration";7806                "Per neighbor soft reconfiguration";
7702              container inbound {7807              container inbound {
7703                presence "Indicates a inbound node is configured.";7808                presence "Indicates a inbound node is configured.";
7704                description7809                description
7705                  "Allow inbound soft reconfiguration for this neighbor";7810                  "Allow inbound soft reconfiguration for this neighbor";
7706                container rpki-dropped-only {7811                container rpki-dropped-only {
7707                  must "not(../rpki-tested-only or ../always or ../inheritance-disable)";7812                  must "not(../rpki-tested-only or ../always or ../inheritance-disable)";
7708                  presence "Indicates a rpki-dropped-only node is configured.";7813                  presence "Indicates a rpki-dropped-only node is configured.";
7709                  description7814                  description
7710                    "Use soft-reconfig, for paths dropped by route-policy which have RPKI validity state check";7815                    "Use soft-reconfig, for paths dropped by route-policy which have RPKI validity state check";
7711                }7816                }
7712                container rpki-tested-only {7817                container rpki-tested-only {
7713                  must "not(../rpki-dropped-only or ../always or ../inheritance-disable)";7818                  must "not(../rpki-dropped-only or ../always or ../inheritance-disable)";
7714                  presence "Indicates a rpki-tested-only node is configured.";7819                  presence "Indicates a rpki-tested-only node is configured.";
7715                  description7820                  description
7716                    "Use soft-reconfig for paths tested or dropped by route-policy which have RPKI validity state check";7821                    "Use soft-reconfig for paths tested or dropped by route-policy which have RPKI validity state check";
7717                }7822                }
7718                container always {7823                container always {
7719                  must "not(../rpki-dropped-only or ../rpki-tested-only or ../inheritance-disable)";7824                  must "not(../rpki-dropped-only or ../rpki-tested-only or ../inheritance-disable)";
7720                  presence "Indicates a always node is configured.";7825                  presence "Indicates a always node is configured.";
7721                  description7826                  description
7722                    "Always use soft reconfig, even if route refresh is supported";7827                    "Always use soft reconfig, even if route refresh is supported";
7723                }7828                }
7724                container inheritance-disable {7829                container inheritance-disable {
7725                  must "not(../rpki-dropped-only or ../rpki-tested-only or ../always)";7830                  must "not(../rpki-dropped-only or ../rpki-tested-only or ../always)";
7726                  presence "Indicates a inheritance-disable node is configured.";7831                  presence "Indicates a inheritance-disable node is configured.";
7727                  description7832                  description
7728                    "Prevent soft-reconfiguration from being inherited from the parent";7833                    "Prevent soft-reconfiguration from being inherited from the parent";
7729                }7834                }
7730              }7835              }
7731            }7836            }
7732            container update {7837            container update {
7733              description7838              description
7734                "BGP out bound message";7839                "BGP out bound message";
7735              container out {7840              container out {
7736                description7841                description
7737                  "BGP out bound message handling";7842                  "BGP out bound message handling";
7738                container originator-loopcheck {7843                container originator-loopcheck {
7739                  presence "Indicates a originator-loopcheck node is configured.";7844                  presence "Indicates a originator-loopcheck node is configured.";
7740                  description7845                  description
7741                    "Loop check for same originator which sent the route";7846                    "Loop check for same originator which sent the route";
7742                  container disable {7847                  container disable {
7743                    presence "Indicates a disable node is configured.";7848                    presence "Indicates a disable node is configured.";
7744                    description7849                    description
7745                      "Disable originator loop check";7850                      "Disable originator loop check";
7746                  }7851                  }
7747                }7852                }
7748              }7853              }
7749            }7854            }
7750            container advertise {7855            container advertise {
7751              description7856              description
7752                "Per neighbor advertisement options";7857                "Per neighbor advertisement options";
7753              container permanent-network {7858              container permanent-network {
7754                when7859                when
7755                  "../../af-name != 'vpnv4-unicast' and7860                  "../../af-name != 'vpnv4-unicast' and
7756                   ../../af-name != 'vpnv4-multicast' and7861                   ../../af-name != 'vpnv4-multicast' and
7757                   ../../af-name != 'vpnv4-flowspec' and7862                   ../../af-name != 'vpnv4-flowspec' and
7758                   ../../af-name != 'vpnv6-flowspec' and7863                   ../../af-name != 'vpnv6-flowspec' and
7759                   ../../af-name != 'vpnv6-multicast' and7864                   ../../af-name != 'vpnv6-multicast' and
7760                   ../../af-name != 'vpnv6-unicast' and7865                   ../../af-name != 'vpnv6-unicast' and
7761                   ../../af-name != 'l2vpn-evpn' and7866                   ../../af-name != 'l2vpn-evpn' and
7762                   ../../af-name != 'l2vpn-mspw' and7867                   ../../af-name != 'l2vpn-mspw' and
7763                   ../../af-name != 'l2vpn-vpls-vpws'";7868                   ../../af-name != 'l2vpn-vpls-vpws'";
7764                presence "Indicates a permanent-network node is configured.";7869                presence "Indicates a permanent-network node is configured.";
7765                description7870                description
7766                  "Allow permanent networks for this neighbor";7871                  "Allow permanent networks for this neighbor";
7767              }7872              }
7768              container local-labeled-route {7873              container local-labeled-route {
7769                when7874                when
7770                  "../../af-name != 'vpnv4-unicast' and7875                  "../../af-name != 'vpnv4-unicast' and
7771                   ../../af-name != 'vpnv4-multicast' and7876                   ../../af-name != 'vpnv4-multicast' and
7772                   ../../af-name != 'vpnv4-flowspec' and7877                   ../../af-name != 'vpnv4-flowspec' and
7773                   ../../af-name != 'vpnv6-flowspec' and7878                   ../../af-name != 'vpnv6-flowspec' and
7774                   ../../af-name != 'vpnv6-multicast' and7879                   ../../af-name != 'vpnv6-multicast' and
7775                   ../../af-name != 'vpnv6-unicast' and7880                   ../../af-name != 'vpnv6-unicast' and
7776                   ../../af-name != 'l2vpn-evpn' and7881                   ../../af-name != 'l2vpn-evpn' and
7777                   ../../af-name != 'l2vpn-mspw' and7882                   ../../af-name != 'l2vpn-mspw' and
7778                   ../../af-name != 'l2vpn-vpls-vpws'";7883                   ../../af-name != 'l2vpn-vpls-vpws'";
7779                presence "Indicates a local-labeled-route node is configured.";7884                presence "Indicates a local-labeled-route node is configured.";
7780                description7885                description
7781                  "Advertisement of routes with local-label";7886                  "Advertisement of routes with local-label";
7782                container disable {7887                container disable {
7783                  presence "Indicates a disable node is configured.";7888                  presence "Indicates a disable node is configured.";
7784                  description7889                  description
7785                    "Do not advertise routes with local-label via Unicast SAFI";7890                    "Do not advertise routes with local-label via Unicast SAFI";
7786                }7891                }
7787              }7892              }
7788              container vpnv4 {7893              container vpnv4 {
7789                when7894                when
7790                  "../../af-name = 'vpnv4-unicast' or7895                  "../../af-name = 'vpnv4-unicast' or
7791                   ../../af-name = 'vpnv6-unicast' or7896                   ../../af-name = 'vpnv6-unicast' or
7792                   ../../af-name = 'l2vpn-evpn'";7897                   ../../af-name = 'l2vpn-evpn'";
7793                description7898                description
7794                  "VPNv4 Address Family";7899                  "VPNv4 Address Family";
7795                container unicast {7900                container unicast {
7796                  description7901                  description
7797                    "Address Family modifier";7902                    "Address Family modifier";
7798                  container enable {7903                  container enable {
7799                    presence "Indicates an enable node is configured.";7904                    presence "Indicates an enable node is configured.";
7800                    description7905                    description
7801                      "Enable advertise vpnv4 unicast";7906                      "Enable advertise vpnv4 unicast";
7802                    container re-originated {7907                    container re-originated {
7803                      presence "Indicates a re-originated node is configured.";7908                      presence "Indicates a re-originated node is configured.";
7804                      description7909                      description
7805                        "Advertise re-orignated and local routes only";7910                        "Advertise re-orignated and local routes only";
7806                      container stitching-rt {7911                      container stitching-rt {
7807                        presence "Indicates a stitching-rt node is configured.";7912                        presence "Indicates a stitching-rt node is configured.";
7808                        description7913                        description
7809                          "Advertise re-originated and local routes with stitching Route-Targets";7914                          "Advertise re-originated and local routes with stitching Route-Targets";
7810                      }7915                      }
7811                    }7916                    }
7812                  }7917                  }
7813                  container imported-from-default-vrf {7918                  container imported-from-default-vrf {
7814                    description7919                    description
7815                      "Default VRF imported routes";7920                      "Default VRF imported routes";
7816                    container disable {7921                    container disable {
7817                      presence "Indicates a disable node is configured.";7922                      presence "Indicates a disable node is configured.";
7818                      description7923                      description
7819                        "Disable advertisement of default VRF imported routes";7924                        "Disable advertisement of default VRF imported routes";
7820                    }7925                    }
7821                  }7926                  }
7822                  container imported-from-vrf {7927                  container imported-from-vrf {
7823                    description7928                    description
7824                      "VRF extranet imported routes";7929                      "VRF extranet imported routes";
7825                    container disable {7930                    container disable {
7826                      presence "Indicates a disable node is configured.";7931                      presence "Indicates a disable node is configured.";
7827                      description7932                      description
7828                        "Disable advertisement of VRF extranet imported routes";7933                        "Disable advertisement of VRF extranet imported routes";
7829                    }7934                    }
7830                  }7935                  }
7831                  container imported-from-bridgedomain {7936                  container imported-from-bridgedomain {
7832                    description7937                    description
7833                      "VRF EVPN extranet imported routes ";7938                      "VRF EVPN extranet imported routes ";
7834                    container disable {7939                    container disable {
7835                      presence "Indicates a disable node is configured.";7940                      presence "Indicates a disable node is configured.";
7836                      description7941                      description
7837                        "Disable advertisement of VRF EVPN extranet imported routes";7942                        "Disable advertisement of VRF EVPN extranet imported routes";
7838                    }7943                    }
7839                  }7944                  }
7840                }7945                }
7841              }7946              }
7842              container vpnv6 {7947              container vpnv6 {
7843                when7948                when
7844                  "../../af-name = 'vpnv4-unicast' or7949                  "../../af-name = 'vpnv4-unicast' or
7845                   ../../af-name = 'vpnv6-unicast' or7950                   ../../af-name = 'vpnv6-unicast' or
7846                   ../../af-name = 'l2vpn-evpn'";7951                   ../../af-name = 'l2vpn-evpn'";
7847                description7952                description
7848                  "VPNv6 Address Family";7953                  "VPNv6 Address Family";
7849                container unicast {7954                container unicast {
7850                  description7955                  description
7851                    "Address Family modifier";7956                    "Address Family modifier";
7852                  container enable {7957                  container enable {
7853                    presence "Indicates an enable node is configured.";7958                    presence "Indicates an enable node is configured.";
7854                    description7959                    description
7855                      "Enable advertise vpnv6 unicast";7960                      "Enable advertise vpnv6 unicast";
7856                    container re-originated {7961                    container re-originated {
7857                      presence "Indicates a re-originated node is configured.";7962                      presence "Indicates a re-originated node is configured.";
7858                      description7963                      description
7859                        "Advertise Re-orignated routes only";7964                        "Advertise Re-orignated routes only";
7860                      container stitching-rt {7965                      container stitching-rt {
7861                        presence "Indicates a stitching-rt node is configured.";7966                        presence "Indicates a stitching-rt node is configured.";
7862                        description7967                        description
7863                          "Advertise re-originated routes with stitching Route-Targets";7968                          "Advertise re-originated routes with stitching Route-Targets";
7864                      }7969                      }
7865                    }7970                    }
7866                  }7971                  }
7867                  container imported-from-default-vrf {7972                  container imported-from-default-vrf {
7868                    description7973                    description
7869                      "Default VRF imported routes";7974                      "Default VRF imported routes";
7870                    container disable {7975                    container disable {
7871                      presence "Indicates a disable node is configured.";7976                      presence "Indicates a disable node is configured.";
7872                      description7977                      description
7873                        "Disable advertisement of default VRF imported routes";7978                        "Disable advertisement of default VRF imported routes";
7874                    }7979                    }
7875                  }7980                  }
7876                  container imported-from-vrf {7981                  container imported-from-vrf {
7877                    description7982                    description
7878                      "VRF extranet imported routes";7983                      "VRF extranet imported routes";
7879                    container disable {7984                    container disable {
7880                      presence "Indicates a disable node is configured.";7985                      presence "Indicates a disable node is configured.";
7881                      description7986                      description
7882                        "Disable advertisement of VRF extranet imported routes";7987                        "Disable advertisement of VRF extranet imported routes";
7883                    }7988                    }
7884                  }7989                  }
7885                  container imported-from-bridgedomain {7990                  container imported-from-bridgedomain {
7886                    description7991                    description
7887                      "VRF EVPN extranet imported routes";7992                      "VRF EVPN extranet imported routes";
7888                    container disable {7993                    container disable {
7889                      presence "Indicates a disable node is configured.";7994                      presence "Indicates a disable node is configured.";
7890                      description7995                      description
7891                        "Disable advertisement of VRF EVPN extranet imported routes";7996                        "Disable advertisement of VRF EVPN extranet imported routes";
7892                    }7997                    }
7893                  }7998                  }
7894                }7999                }
7895              }8000              }
7896              container l2vpn {8001              container l2vpn {
7897                when8002                when
7898                  "../../af-name = 'vpnv4-unicast' or8003                  "../../af-name = 'vpnv4-unicast' or
7899                   ../../af-name = 'vpnv6-unicast' or8004                   ../../af-name = 'vpnv6-unicast' or
7900                   ../../af-name = 'l2vpn-evpn'";8005                   ../../af-name = 'l2vpn-evpn'";
7901                description8006                description
7902                  "L2VPN Address Family";8007                  "L2VPN Address Family";
7903                container evpn {8008                container evpn {
7904                  when "../../../af-name = 'l2vpn-evpn'";8009                  when "../../../af-name = 'l2vpn-evpn'";
7905                  presence "Indicates a evpn node is configured.";8010                  presence "Indicates a evpn node is configured.";
7906                  description8011                  description
7907                    "Address Family modifier";8012                    "Address Family modifier";
7908                  container re-originated {8013                  container re-originated {
7909                    presence "Indicates a re-originated node is configured.";8014                    presence "Indicates a re-originated node is configured.";
7910                    description8015                    description
7911                      "Advertise Re-orignated routes only";8016                      "Advertise Re-orignated routes only";
7912                    container stitching-rt {8017                    container stitching-rt {
7913                      presence "Indicates a stitching-rt node is configured.";8018                      presence "Indicates a stitching-rt node is configured.";
7914                      description8019                      description
7915                        "Advertise re-originated routes with stitching Route-Targets";8020                        "Advertise re-originated routes with stitching Route-Targets";
7916                    }8021                    }
7917                  }8022                  }
7918                }8023                }
7919                container evpn-disable {8024                container evpn-disable {
7920                  presence "Indicates a disable node is configured.";8025                  presence "Indicates a disable node is configured.";
7921                  description8026                  description
7922                    "Disable Advertisement of selected SAFI";8027                    "Disable Advertisement of selected SAFI";
7923                }8028                }
7924                container vpls-vpws {8029                container vpls-vpws {
7925                  description8030                  description
7926                    "Address Family modifier";8031                    "Address Family modifier";
7927                  container disable {8032                  container disable {
7928                    presence "Indicates a disable node is configured.";8033                    presence "Indicates a disable node is configured.";
7929                    description8034                    description
7930                      "Disable Advertisement of selected SAFI";8035                      "Disable Advertisement of selected SAFI";
7931                  }8036                  }
7932                }8037                }
7933                container mspw {8038                container mspw {
7934                  description8039                  description
7935                    "Address Family modifier";8040                    "Address Family modifier";
7936                  container disable {8041                  container disable {
7937                    presence "Indicates a disable node is configured.";8042                    presence "Indicates a disable node is configured.";
7938                    description8043                    description
7939                      "Disable Advertisement of selected SAFI";8044                      "Disable Advertisement of selected SAFI";
7940                  }8045                  }
7941                }8046                }
7942                container gateway-ip-disable {8047                container gateway-ip-disable {
7943                  when "../../../af-name = 'l2vpn-evpn'";8048                  when "../../../af-name = 'l2vpn-evpn'";
7944                  presence "Indicates a gateway-ip-disable node is configured.";8049                  presence "Indicates a gateway-ip-disable node is configured.";
7945                  description8050                  description
7946                    "Disable advertisement of non-zero EVPN Gateway-IP";8051                    "Disable advertisement of non-zero EVPN Gateway-IP";
7947                  container inheritance-disable {8052                  container inheritance-disable {
7948                    presence "Indicates a inheritance-disable node is configured.";8053                    presence "Indicates a inheritance-disable node is configured.";
7949                    description8054                    description
7950                      "Prevent EVPN Gateway-IP disable being inherited from a parent group";8055                      "Prevent EVPN Gateway-IP disable being inherited from a parent group";
7951                  }8056                  }
7952                }8057                }
7953              }8058              }
7954            }8059            }
7955            container encapsulation-type {8060            container encapsulation-type {
7956              when8061              when
7957                "../af-name = 'ipv4-unicast' or8062                "../af-name = 'ipv4-unicast' or
7958                 ../af-name = 'ipv6-unicast' or8063                 ../af-name = 'ipv6-unicast' or
7959                 ../af-name = 'vpnv4-unicast' or8064                 ../af-name = 'vpnv4-unicast' or
7960                 ../af-name = 'vpnv6-unicast' or8065                 ../af-name = 'vpnv6-unicast' or
7961                 ../af-name = 'l2vpn-evpn'";8066                 ../af-name = 'l2vpn-evpn'";
7962              description8067              description
7963                "Specify encapsulation type";8068                "Specify encapsulation type";
7964              container vxlan {8069              container vxlan {
7965                when8070                when
7966                  "../../af-name = 'vpnv4-unicast' or8071                  "../../af-name = 'vpnv4-unicast' or
7967                   ../../af-name = 'vpnv6-unicast' or8072                   ../../af-name = 'vpnv6-unicast' or
7968                   ../../af-name = 'l2vpn-evpn'";8073                   ../../af-name = 'l2vpn-evpn'";
7969                must "not(../srv6)";8074                must "not(../srv6)";
7970                presence "Indicates a vxlan node is configured.";8075                presence "Indicates a vxlan node is configured.";
7971                description8076                description
7972                  "VxLAN encapsulation";8077                  "VxLAN encapsulation";
7973              }8078              }
7974              container srv6 {8079              container srv6 {
7975                when "../../af-name != 'l2vpn-evpn'";8080                when "../../af-name != 'l2vpn-evpn'";
7976                must "not(../vxlan)";8081                must "not(../vxlan)";
7977                presence "Indicates a srv6 node is configured.";8082                presence "Indicates a srv6 node is configured.";
7978                description8083                description
7979                  "SRv6 encapsulation";8084                  "SRv6 encapsulation";
7980              }8085              }
7981            }8086            }
7982            container segment-routing {8087            container segment-routing {
7983              when "../af-name = 'vpnv4-unicast'";8088              when "../af-name = 'vpnv4-unicast'";
7984              description8089              description
7985                "enable segment-routing srv6 version 4";8090                "enable segment-routing srv6 version 4";
7986              container srv6 {8091              container srv6 {
7987                description8092                description
7988                  "srv6 version 4";8093                  "srv6 version 4";
7989                container prefix-sid-type4 {8094                container prefix-sid-type4 {
7990                  presence "Indicates a prefix-sid-type4 node is configured.";8095                  presence "Indicates a prefix-sid-type4 node is configured.";
7991                  description8096                  description
7992                    "Enable prefix sid version 4 encoding";8097                    "Enable prefix sid version 4 encoding";
7993                }8098                }
7994              }8099              }
7995            }8100            }
7996            container import {8101            container import {
7997              when "../af-name = 'vpnv4-unicast' or ../af-name = 'vpnv6-unicast'  or ../af-name = 'l2vpn-evpn'";8102              when "../af-name = 'vpnv4-unicast' or ../af-name = 'vpnv6-unicast'  or ../af-name = 'l2vpn-evpn'";
7998              description8103              description
7999                "Import options for neighbor address-family routes";8104                "Import options for neighbor address-family routes";
8000              container stitching-rt {8105              container stitching-rt {
8001                presence "Indicates a stitching-rt node is configured.";8106                presence "Indicates a stitching-rt node is configured.";
8002                description8107                description
8003                  "Import routes using stitching RTs";8108                  "Import routes using stitching RTs";
8004                container re-originate {8109                container re-originate {
8005                  presence "Indicates a re-originate node is configured.";8110                  presence "Indicates a re-originate node is configured.";
8006                  description8111                  description
8007                    "Re-originate imported routes";8112                    "Re-originate imported routes";
8008                  container stitching-rt {8113                  container stitching-rt {
8009                    presence "Indicates a stitching-rt node is configured.";8114                    presence "Indicates a stitching-rt node is configured.";
8010                    description8115                    description
8011                      "Reoriginate imported routes by attaching stitching RTs";8116                      "Reoriginate imported routes by attaching stitching RTs";
8012                  }8117                  }
8013                }8118                }
8014              }8119              }
8015            }8120            }
8016            leaf weight {8121            leaf weight {
8017              type uint32 {8122              type uint32 {
8018                range "0..65535" {8123                range "0..65535" {
8019                  description8124                  description
8020                    "default weight";8125                    "default weight";
8021                }8126                }
8022              }8127              }
8023              description8128              description
8024                "Set default weight for routes from this neighbor";8129                "Set default weight for routes from this neighbor";
8025            }8130            }
8026            container allowas-in {8131            container allowas-in {
8027              presence "Indicates a allowas-in node is configured.";8132              presence "Indicates a allowas-in node is configured.";
8028              description8133              description
8029                "Allow as-path with my AS present in it";8134                "Allow as-path with my AS present in it";
8030              leaf number-of-occurences {8135              leaf number-of-occurences {
8031                type uint32 {8136                type uint32 {
8032                  range "1..10" {8137                  range "1..10" {
8033                    description8138                    description
8034                      "Number of occurences of AS number";8139                      "Number of occurences of AS number";
8035                  }8140                  }
8036                }8141                }
8037                description8142                description
8038                  "Number of occurences of AS number";8143                  "Number of occurences of AS number";
8039              }8144              }
8040            }8145            }
8041            container allowconfedas-in {8146            container allowconfedas-in {
8042              presence "Indicates a allowconfedas-in node is configured.";8147              presence "Indicates a allowconfedas-in node is configured.";
8043              description8148              description
8044                "Allow as-path with my confederation AS present in it";8149                "Allow as-path with my confederation AS present in it";
8045              leaf number-of-occurences {8150              leaf number-of-occurences {
8046                type uint32 {8151                type uint32 {
8047                  range "1..10" {8152                  range "1..10" {
8048                    description8153                    description
8049                      "Number of occurences of confederation AS number";8154                      "Number of occurences of confederation AS number";
8050                  }8155                  }
8051                }8156                }
8052                description8157                description
8053                  "Number of occurences of confederation AS number";8158                  "Number of occurences of confederation AS number";
8054              }8159              }
8055            }8160            }
8056            container long-lived-graceful-restart {8161            container long-lived-graceful-restart {
8057              description8162              description
8058                "Enable long lived graceful restart support";8163                "Enable long lived graceful restart support";
8059              container stale-time {8164              container stale-time {
8060                description8165                description
8061                  "Maximum time to wait before purging long-lived stale routes";8166                  "Maximum time to wait before purging long-lived stale routes";
8062                leaf send {8167                leaf send {
8063                  type uint32 {8168                  type uint32 {
8064                    range "0..16777215" {8169                    range "0..16777215" {
8065                      description8170                      description
8066                        "Max time (seconds)";8171                        "Max time (seconds)";
8067                    }8172                    }
8068                  }8173                  }
8069                  description8174                  description
8070                    "Stale-time sent in LLGR Capability";8175                    "Stale-time sent in LLGR Capability";
8071                }8176                }
8072                leaf accept {8177                leaf accept {
8073                  type uint32 {8178                  type uint32 {
8074                    range "0..16777215" {8179                    range "0..16777215" {
8075                      description8180                      description
8076                        "Max time (seconds)";8181                        "Max time (seconds)";
8077                    }8182                    }
8078                  }8183                  }
8079                  description8184                  description
8080                    "Maximum stale-time acceptable from neighbor";8185                    "Maximum stale-time acceptable from neighbor";
8081                }8186                }
8082              }8187              }
8083              container capable {8188              container capable {
8084                presence "Indicates a capable node is configured.";8189                presence "Indicates a capable node is configured.";
8085                description8190                description
8086                  "Treat neighbor as LLGR capable";8191                  "Treat neighbor as LLGR capable";
8087              }8192              }
8088            }8193            }
8089            container as-override {8194            container as-override {
8090              presence "Indicates a as-override node is configured.";8195              presence "Indicates a as-override node is configured.";
8091              description8196              description
8092                "Override matching AS-number while sending update";8197                "Override matching AS-number while sending update";
8093              container inheritance-disable {8198              container inheritance-disable {
8094                presence "Indicates a inheritance-disable node is configured.";8199                presence "Indicates a inheritance-disable node is configured.";
8095                description8200                description
8096                  "Prevent as-override from being inherited from the parent";8201                  "Prevent as-override from being inherited from the parent";
8097              }8202              }
8098            }8203            }
8099            container aigp {8204            container aigp {
8100              presence "Indicates a aigp node is configured.";8205              presence "Indicates a aigp node is configured.";
8101              description8206              description
8102                "Enable AIGP for this neighbor ";8207                "Enable AIGP for this neighbor ";
8103              container disable {8208              container disable {
8104                presence "Indicates a disable node is configured.";8209                presence "Indicates a disable node is configured.";
8105                description8210                description
8106                  "Disable AIGP";8211                  "Disable AIGP";
8107              }8212              }
8108            }8213            }
8109            container aigp-send {8214            container aigp-send {
8110              description8215              description
8111                "Copy AIGP";8216                "Copy AIGP";
8112              container cost-community {8217              container cost-community {
8113                must "(cost-community-id and poi) or disable";8218                must "(cost-community-id and poi) or disable";
8114                presence "Indicates a cost-community node is configured.";8219                presence "Indicates a cost-community node is configured.";
8115                description8220                description
8116                  "Send AIGP value in Cost Community";8221                  "Send AIGP value in Cost Community";
8117                leaf cost-community-id {8222                leaf cost-community-id {
8118                  type uint32 {8223                  type uint32 {
8119                    range "0..255" {8224                    range "0..255" {
8120                      description8225                      description
8121                        "Cost community ID";8226                        "Cost community ID";
8122                    }8227                    }
8123                  }8228                  }
8124                  must "not(../disable)";8229                  must "not(../disable)";
8125                  description8230                  description
8126                    "Cost community ID";8231                    "Cost community ID";
8127                }8232                }
8128                container poi {8233                container poi {
8129                  must "(igp-cost or pre-bestpath) and not(igp-cost and pre-bestpath)";8234                  must "(igp-cost or pre-bestpath) and not(igp-cost and pre-bestpath)";
8130                  presence "Indicates a poi node is configured.";8235                  presence "Indicates a poi node is configured.";
8131                  description8236                  description
8132                    "Point of insertion for bestpath calculation";8237                    "Point of insertion for bestpath calculation";
8133                  container igp-cost {8238                  container igp-cost {
8134                    presence "Indicates a igp-cost node is configured.";8239                    presence "Indicates a igp-cost node is configured.";
8135                    description8240                    description
8136                      "Cost community is used after IGP distance to next hop";8241                      "Cost community is used after IGP distance to next hop";
8137                    container transitive {8242                    container transitive {
8138                      presence "Indicates a transitive node is configured.";8243                      presence "Indicates a transitive node is configured.";
8139                      description8244                      description
8140                        "Enable transitive cost community";8245                        "Enable transitive cost community";
8141                    }8246                    }
8142                  }8247                  }
8143                  container pre-bestpath {8248                  container pre-bestpath {
8144                    presence "Indicates a pre-bestpath node is configured.";8249                    presence "Indicates a pre-bestpath node is configured.";
8145                    description8250                    description
8146                      "Cost community is first step in best path calculation";8251                      "Cost community is first step in best path calculation";
8147                    container transitive {8252                    container transitive {
8148                      presence "Indicates a transitive node is configured.";8253                      presence "Indicates a transitive node is configured.";
8149                      description8254                      description
8150                        "Enable transitive cost community";8255                        "Enable transitive cost community";
8151                    }8256                    }
8152                  }8257                  }
8153                }8258                }
8154                container disable {8259                container disable {
8155                  must "not(../cost-community-id)";8260                  must "not(../cost-community-id)";
8156                  presence "Indicates a disable node is configured.";8261                  presence "Indicates a disable node is configured.";
8157                  description8262                  description
8158                    "Disable aigp send cost-community";8263                    "Disable aigp send cost-community";
8159                }8264                }
8160              }8265              }
8161              container med {8266              container med {
8162                presence "Indicates a med node is configured.";8267                presence "Indicates a med node is configured.";
8163                description8268                description
8164                  "Send AIGP value in MED";8269                  "Send AIGP value in MED";
8165                container disable {8270                container disable {
8166                  presence "Indicates a disable node is configured.";8271                  presence "Indicates a disable node is configured.";
8167                  description8272                  description
8168                    "Disable aigp send med";8273                    "Disable aigp send med";
8169                }8274                }
8170              }8275              }
8171            }8276            }
8172            container validation {8277            container validation {
8173              when "../af-name = 'ipv4-flowspec' or ../af-name = 'ipv6-flowspec'";8278              when "../af-name = 'ipv4-flowspec' or ../af-name = 'ipv6-flowspec'";
8174              presence "Indicates a validation node is configured.";8279              presence "Indicates a validation node is configured.";
8175              description8280              description
8176                "Flowspec Validation for this neighbor ";8281                "Flowspec Validation for this neighbor ";
8177              container disable {8282              container disable {
8178                presence "Indicates a disable node is configured.";8283                presence "Indicates a disable node is configured.";
8179                description8284                description
8180                  "Disable Flowspec Validation";8285                  "Disable Flowspec Validation";
8181              }8286              }
8182              container redirect {8287              container redirect {
8183                description8288                description
8184                  "Flowspec Redirect nexthop Validation";8289                  "Flowspec Redirect nexthop Validation";
8185                container disable {8290                container disable {
8186                  presence "Indicates a disable node is configured.";8291                  presence "Indicates a disable node is configured.";
8187                  description8292                  description
8188                    "Disable Flowspec Redirect nexthop Validation";8293                    "Disable Flowspec Redirect nexthop Validation";
8189                }8294                }
8190              }8295              }
8191            }8296            }
8192            container send-multicast-attributes {8297            container send-multicast-attributes {
8193              when "../af-name = 'ipv4-unicast' or ../af-name = 'ipv6-unicast' or ../af-name = 'ipv4-labeled-unicast' or ../af-name = 'ipv6-labeled-unicast' or ../af-name = 'ipv4-multicast' or ../af-name = 'ipv6-multicast' or ../af-name = 'ipv4-mvpn' or ../af-name = 'ipv6-mvpn'";8298              when "../af-name = 'ipv4-unicast' or ../af-name = 'ipv6-unicast' or ../af-name = 'ipv4-labeled-unicast' or ../af-name = 'ipv6-labeled-unicast' or ../af-name = 'ipv4-multicast' or ../af-name = 'ipv6-multicast' or ../af-name = 'ipv4-mvpn' or ../af-name = 'ipv6-mvpn'";
8194              presence "Indicates a send-multicast-attributes node is configured.";8299              presence "Indicates a send-multicast-attributes node is configured.";
8195              description8300              description
8196                "Send multicast attributes to this neighbor ";8301                "Send multicast attributes to this neighbor ";
8197              container disable {8302              container disable {
8198                presence "Indicates a disable node is configured.";8303                presence "Indicates a disable node is configured.";
8199                description8304                description
8200                  "Disable send multicast attribute";8305                  "Disable send multicast attribute";
8201              }8306              }
8202            }8307            }
8203            container signalling {8308            container signalling {
8204              description8309              description
8205                "Signalling protocols to disable, BGP or LDP";8310                "Signalling protocols to disable, BGP or LDP";
8206              container bgp {8311              container bgp {
8207                description8312                description
8208                  "Select BGP to disable";8313                  "Select BGP to disable";
8209                container disable {8314                container disable {
8210                  presence "Indicates a disable node is configured.";8315                  presence "Indicates a disable node is configured.";
8211                  description8316                  description
8212                    "Disable Signalling type";8317                    "Disable Signalling type";
8213                }8318                }
8214              }8319              }
8215              container ldp {8320              container ldp {
8216                description8321                description
8217                  "Select LDP to disable";8322                  "Select LDP to disable";
8218                container disable {8323                container disable {
8219                  presence "Indicates a disable node is configured.";8324                  presence "Indicates a disable node is configured.";
8220                  description8325                  description
8221                    "Disable Signalling type";8326                    "Disable Signalling type";
8222                }8327                }
8223              }8328              }
8224            }8329            }
8225            container accept-own {8330            container accept-own {
8226              presence "Indicates a accept-own node is configured.";8331              presence "Indicates a accept-own node is configured.";
8227              description8332              description
8228                "Handle self-originated routes with Accept-Own community";8333                "Handle self-originated routes with Accept-Own community";
8229              container inheritance-disable {8334              container inheritance-disable {
8230                presence "Indicates a inheritance-disable node is configured.";8335                presence "Indicates a inheritance-disable node is configured.";
8231                description8336                description
8232                  "Prevent item being inherited from a parent group";8337                  "Prevent item being inherited from a parent group";
8233              }8338              }
8234            }8339            }
8235            container cluster-id {8340            container cluster-id {
8236              description8341              description
8237                "Allow routes with first cluster-id in list is same as the router's cluster id";8342                "Allow routes with first cluster-id in list is same as the router's cluster id";
8238              container allow-equal {8343              container allow-equal {
8239                presence "Indicates a allow-equal node is configured.";8344                presence "Indicates a allow-equal node is configured.";
8240                description8345                description
8241                  "Accept routes with first cluster-id in list is same as the router's cluster id";8346                  "Accept routes with first cluster-id in list is same as the router's cluster id";
8242                container disable {8347                container disable {
8243                  presence "Indicates a allow-equal node is configured.";8348                  presence "Indicates a allow-equal node is configured.";
8244                  description8349                  description
8245                    "Prevent the configuration from being inherited.";8350                    "Prevent the configuration from being inherited.";
8246                }8351                }
8247              }8352              }
8248            }8353            }
8249            container site-of-origin {8354            container site-of-origin {
8250              description8355              description
8251                "Site-of-Origin extended community associated with the neighbor";8356                "Site-of-Origin extended community associated with the neighbor";
8252              container two-byte-as {8357              container two-byte-as {
8253                must "not(../four-byte-as or ../ip-address)";8358                must "not(../four-byte-as or ../ip-address)";
8254                presence "Indicates a two-byte-as node is configured.";8359                presence "Indicates a two-byte-as node is configured.";
8255                description8360                description
8256                  "two-byte-as Site-of-Origin";8361                  "two-byte-as Site-of-Origin";
8257                leaf as-number {8362                leaf as-number {
8258                  type xr:Bgp-as-number;8363                  type xr:Bgp-as-number;
8259                  mandatory true;8364                  mandatory true;
8260                  description8365                  description
8261                    "bgp as-number";8366                    "bgp as-number";
8262                }8367                }
8263                leaf index {8368                leaf index {
8264                  type uint32 {8369                  type uint32 {
8265                    range "0..4294967295" {8370                    range "0..4294967295" {
8266                      description8371                      description
8267                        "ASN2:index (hex or decimal format)";8372                        "ASN2:index (hex or decimal format)";
8268                    }8373                    }
8269                  }8374                  }
8270                  mandatory true;8375                  mandatory true;
8271                  description8376                  description
8272                    "ASN2:index (hex or decimal format)";8377                    "ASN2:index (hex or decimal format)";
8273                }8378                }
8274              }8379              }
8275              container four-byte-as {8380              container four-byte-as {
8276                must "not(../two-byte-as or ../ip-address)";8381                must "not(../two-byte-as or ../ip-address)";
8277                presence "Indicates a four-byte-as node is configured.";8382                presence "Indicates a four-byte-as node is configured.";
8278                description8383                description
8279                  "four-byte-as Site-of-Origin";8384                  "four-byte-as Site-of-Origin";
8280                leaf as-number {8385                leaf as-number {
8281                  type xr:Bgp-as-number;8386                  type xr:Bgp-as-number;
8282                  mandatory true;8387                  mandatory true;
8283                  description8388                  description
8284                    "4-byte AS number";8389                    "4-byte AS number";
8285                }8390                }
8286                leaf index {8391                leaf index {
8287                  type uint32 {8392                  type uint32 {
8288                    range "0..4294967295" {8393                    range "0..4294967295" {
8289                      description8394                      description
8290                        "ASN2:index (hex or decimal format)";8395                        "ASN2:index (hex or decimal format)";
8291                    }8396                    }
8292                  }8397                  }
8293                  mandatory true;8398                  mandatory true;
8294                  description8399                  description
8295                    "ASN2:index (hex or decimal format)";8400                    "ASN2:index (hex or decimal format)";
8296                }8401                }
8297              }8402              }
8298              container ip-address {8403              container ip-address {
8299                must "not(../two-byte-as or ../four-byte-as)";8404                must "not(../two-byte-as or ../four-byte-as)";
8300                presence "Indicates a ip-address node is configured.";8405                presence "Indicates a ip-address node is configured.";
8301                description8406                description
8302                  "configure this node";8407                  "configure this node";
8303                leaf ipv4-address {8408                leaf ipv4-address {
8304                  type inet:ipv4-address-no-zone;8409                  type inet:ipv4-address-no-zone;
8305                  mandatory true;8410                  mandatory true;
8306                  description8411                  description
8307                    "configure this node";8412                    "configure this node";
8308                }8413                }
8309                leaf index {8414                leaf index {
8310                  type uint32 {8415                  type uint32 {
8311                    range "0..65535" {8416                    range "0..65535" {
8312                      description8417                      description
8313                        "IPv4Address:index (hex or decimal format)";8418                        "IPv4Address:index (hex or decimal format)";
8314                    }8419                    }
8315                  }8420                  }
8316                  mandatory true;8421                  mandatory true;
8317                  description8422                  description
8318                    "IPv4Address:index (hex or decimal format)";8423                    "IPv4Address:index (hex or decimal format)";
8319                }8424                }
8320              }8425              }
8321            }8426            }
8322            container additional-paths {8427            container additional-paths {
8323              description8428              description
8324                "Additional paths capability";8429                "Additional paths capability";
8325              container receive {8430              container receive {
8326                presence "Indicates a receive node is configured.";8431                presence "Indicates a receive node is configured.";
8327                description8432                description
8328                  "Additional paths Receive capability";8433                  "Additional paths Receive capability";
8329                container disable {8434                container disable {
8330                  presence "Indicates a disable node is configured.";8435                  presence "Indicates a disable node is configured.";
8331                  description8436                  description
8332                    "Prevent additional-paths receive from being inherited from the parent";8437                    "Prevent additional-paths receive from being inherited from the parent";
8333                }8438                }
8334              }8439              }
8335              container send {8440              container send {
8336                presence "Indicates a send node is configured.";8441                presence "Indicates a send node is configured.";
8337                description8442                description
8338                  "Additional paths Send capability";8443                  "Additional paths Send capability";
8339                container disable {8444                container disable {
8340                  presence "Indicates a disable node is configured.";8445                  presence "Indicates a disable node is configured.";
8341                  description8446                  description
8342                    "Prevent additional-paths receive from being inherited from the parent";8447                    "Prevent additional-paths receive from being inherited from the parent";
8343                }8448                }
8344              }8449              }
8345            }8450            }
8346          }8451          }
8347        }8452        }
8348      }8453      }
8349    }8454    }
8350    container session-groups {8455    container session-groups {
8351      description8456      description
8352        "Specify a Session group";8457        "Specify a Session group";
8353      list session-group {8458      list session-group {
8354        key "session-group-name";8459        key "session-group-name";
8355        description8460        description
8356          "Specify a Session group";8461          "Specify a Session group";
8357        leaf session-group-name {8462        leaf session-group-name {
8358          type xr:Cisco-ios-xr-string {8463          type xr:Cisco-ios-xr-string {
8359            length "1..1024" {8464            length "1..1024" {
8360              description8465              description
8361                "Session group name";8466                "Session group name";
8362            }8467            }
8363          }8468          }
8364          description8469          description
8365            "Specify a Session group";8470            "Specify a Session group";
8366        }8471        }
8367        leaf remote-as {8472        leaf remote-as {
8368          type xr:Bgp-as-number;8473          type xr:Bgp-as-number;
8369          description8474          description
8370            "bgp as-number";8475            "bgp as-number";
8371        }8476        }
8372        leaf remote-as-list {8477        leaf remote-as-list {
8373          type string {8478          type string {
8374            length "1..1024" {8479            length "1..1024" {
8375              description8480              description
8376                "as-list name";8481                "as-list name";
8377            }8482            }
8378          }8483          }
8379          description8484          description
8380            "Remote as-list configuration";8485            "Remote as-list configuration";
8381        }8486        }
8382        container use {8487        container use {
8383          description8488          description
8384            "Inherit configuration from a group";8489            "Inherit configuration from a group";
8385          leaf session-group {8490          leaf session-group {
8386            type string {8491            type string {
8387              length "1..1024" {8492              length "1..1024" {
8388                description8493                description
8389                  "Session group name";8494                  "Session group name";
8390              }8495              }
8391            }8496            }
8392            description8497            description
8393              "Inherit address-family independent config from a session-group";8498              "Inherit address-family independent config from a session-group";
8394          }8499          }
8395        }8500        }
8396        container advertisement-interval {8501        container advertisement-interval {
8397          presence "Indicates a advertisement-interval node is configured.";8502          presence "Indicates a advertisement-interval node is configured.";
8398          description8503          description
8399            "Minimum interval between sending BGP routing updates";8504            "Minimum interval between sending BGP routing updates";
8400          leaf time-in-seconds {8505          leaf time-in-seconds {
8401            type uint32 {8506            type uint32 {
8402              range "0..600" {8507              range "0..600" {
8403                description8508                description
8404                  "time in seconds";8509                  "time in seconds";
8405              }8510              }
8406            }8511            }
8407            mandatory true;8512            mandatory true;
8408            description8513            description
8409              "Minimum interval between sending BGP routing updates";8514              "Minimum interval between sending BGP routing updates";
8410          }8515          }
8411          leaf time-in-milliseconds {8516          leaf time-in-milliseconds {
8412            type uint32 {8517            type uint32 {
8413              range "0..999" {8518              range "0..999" {
8414                description8519                description
8415                  "time in milliseconds";8520                  "time in milliseconds";
8416              }8521              }
8417            }8522            }
8418            description8523            description
8419              "time in milliseconds";8524              "time in milliseconds";
8420          }8525          }
8421        }8526        }
8422        leaf description {8527        leaf description {
8423          type string {8528          type string {
8424            length "1..1024" {8529            length "1..1024" {
8425              description8530              description
8426                "Up to 256 characters describing this neighbor";8531                "Up to 256 characters describing this neighbor";
8427            }8532            }
8428          }8533          }
8429          description8534          description
8430            "Neighbor specific description";8535            "Neighbor specific description";
8431        }8536        }
8432        container ignore-connected-check {8537        container ignore-connected-check {
8433          presence "Indicates a ignore-connected-check node is configured.";8538          presence "Indicates a ignore-connected-check node is configured.";
8434          description8539          description
8435            "Bypass the directly connected nexthop check for single-hop eBGP peering";8540            "Bypass the directly connected nexthop check for single-hop eBGP peering";
8436          container inheritance-disable {8541          container inheritance-disable {
8437            presence "Indicates a inheritance-disable node is configured.";8542            presence "Indicates a inheritance-disable node is configured.";
8438            description8543            description
8439              "Prevent ignore-connected-check from being inherited from the parent";8544              "Prevent ignore-connected-check from being inherited from the parent";
8440          }8545          }
8441        }8546        }
8442        container internal-vpn-client {8547        container internal-vpn-client {
8443          presence "Indicates a internal-vpn-client node is configured.";8548          presence "Indicates a internal-vpn-client node is configured.";
8444          description8549          description
8445            "Preserve iBGP CE neighbor path in ATTR_SET across VPN core";8550            "Preserve iBGP CE neighbor path in ATTR_SET across VPN core";
8446        }8551        }
8447        container ebgp-multihop {8552        container ebgp-multihop {
8448          presence "Indicates a ebgp-multihop node is configured.";8553          presence "Indicates a ebgp-multihop node is configured.";
8449          description8554          description
8450            "Allow EBGP neighbors not on directly connected networks";8555            "Allow EBGP neighbors not on directly connected networks";
8451          leaf maximum-hop-count {8556          leaf maximum-hop-count {
8452            type uint32 {8557            type uint32 {
8453              range "1..255" {8558              range "1..255" {
8454                description8559                description
8455                  "maximum hop count";8560                  "maximum hop count";
8456              }8561              }
8457            }8562            }
8458            mandatory true;8563            mandatory true;
8459            description8564            description
8460              "maximum hop count";8565              "maximum hop count";
8461          }8566          }
8462          container mpls {8567          container mpls {
8463            presence "Indicates a mpls node is configured.";8568            presence "Indicates a mpls node is configured.";
8464            description8569            description
8465              "Disable BGP MPLS forwarding";8570              "Disable BGP MPLS forwarding";
8466          }8571          }
8467        }8572        }
8468        container tcp {8573        container tcp {
8469          description8574          description
8470            "TCP session configuration commands";8575            "TCP session configuration commands";
8471          container mss {8576          container mss {
8472            must "initial-mss or inheritance-disable";8577            must "initial-mss or inheritance-disable";
8473            presence "Indicates a mss node is configured.";8578            presence "Indicates a mss node is configured.";
8474            description8579            description
8475              "Maximum Segment Size";8580              "Maximum Segment Size";
8476            leaf initial-mss {8581            leaf initial-mss {
8477              type uint32 {8582              type uint32 {
8478                range "68..10000" {8583                range "68..10000" {
8479                  description8584                  description
8480                    "TCP initial maximum segment size";8585                    "TCP initial maximum segment size";
8481                }8586                }
8482              }8587              }
8483              description8588              description
8484                "TCP initial maximum segment size";8589                "TCP initial maximum segment size";
8485            }8590            }
8486            container inheritance-disable {8591            container inheritance-disable {
8487              presence "Indicates a inheritance-disable node is configured.";8592              presence "Indicates a inheritance-disable node is configured.";
8488              description8593              description
8489                "Prevent tcp mss from being inherited from the parent";8594                "Prevent tcp mss from being inherited from the parent";
8490            }8595            }
8491          }8596          }
8492          container ip-only-preferred {8597          container ip-only-preferred {
8493            presence "Indicates an ip-only-preferred node is configured.";8598            presence "Indicates an ip-only-preferred node is configured.";
8494            description8599            description
8495              "Prefer to send BGP control plane traffic on IP";8600              "Prefer to send BGP control plane traffic on IP";
8496            container inheritance-disable {8601            container inheritance-disable {
8497              presence "Indicates an inheritance-disable node is configured.";8602              presence "Indicates an inheritance-disable node is configured.";
8498              description8603              description
8499                "Do not inherit this configuration from parent group";8604                "Do not inherit this configuration from parent group";
8500            }8605            }
8501          }8606          }
8502        }8607        }
8503        container bmp-activate {8608        container bmp-activate {
8504          description8609          description
8505            "Enable BMP logging for this neighbor";8610            "Enable BMP logging for this neighbor";
8506          container servers {8611          container servers {
8507            description8612            description
8508              "Enable BMP connection to particular server";8613              "Enable BMP connection to particular server";
8509            list server {8614            list server {
8510              key "server-id";8615              key "server-id";
8511              description8616              description
8512                "Enable BMP connection to particular server";8617                "Enable BMP connection to particular server";
8513              leaf server-id {8618              leaf server-id {
8514                type uint32 {8619                type uint32 {
8515                  range "1..8" {8620                  range "1..8" {
8516                    description8621                    description
8517                      "Enable BMP connection to particular server";8622                      "Enable BMP connection to particular server";
8518                  }8623                  }
8519                }8624                }
8520                description8625                description
8521                  "Enable BMP connection to particular server";8626                  "Enable BMP connection to particular server";
8522              }8627              }
8523            }8628            }
8524          }8629          }
8525        }8630        }
8526        container bfd {8631        container bfd {
8527          description8632          description
8528            "Configure BFD parameters";8633            "Configure BFD parameters";
8529          container fast-detect {8634          container fast-detect {
8530            presence "Indicates a fast-detect node is configured.";8635            presence "Indicates a fast-detect node is configured.";
8531            description8636            description
8532              "Enable Fast detection";8637              "Enable Fast detection";
8533            container strict-mode {8638            container strict-mode {
8534              presence "Indicates a strict-mode node is configured.";8639              presence "Indicates a strict-mode node is configured.";
8535              description8640              description
8536                "Hold down neighbor session until BFD session is up";8641                "Hold down neighbor session until BFD session is up";
8537            }8642            }
8538            container disable {8643            container disable {
8539              presence "Indicates a disable node is configured.";8644              presence "Indicates a disable node is configured.";
8540              description8645              description
8541                "Prevent bfd settings from being inherited from the parent";8646                "Prevent bfd settings from being inherited from the parent";
8542            }8647            }
8543          }8648          }
8544          leaf minimum-interval {8649          leaf minimum-interval {
8545            type uint32 {8650            type uint32 {
8546              range "3..30000" {8651              range "3..30000" {
8547                description8652                description
8548                  "hello interval in milli-seconds";8653                  "hello interval in milli-seconds";
8549              }8654              }
8550            }8655            }
8551            description8656            description
8552              "Hello interval";8657              "Hello interval";
8553          }8658          }
8554          leaf multiplier {8659          leaf multiplier {
8555            type uint32 {8660            type uint32 {
8556              range "2..16" {8661              range "2..16" {
8557                description8662                description
8558                  "Detect multiplier";8663                  "Detect multiplier";
8559              }8664              }
8560            }8665            }
8561            description8666            description
8562              "Detect multiplier";8667              "Detect multiplier";
8563          }8668          }
8564        }8669        }
8565        container keychain {8670        container keychain {
8566          must "name or inheritance-disable";8671          must "name or inheritance-disable";
8567          presence "Indicates a keychain node is configured.";8672          presence "Indicates a keychain node is configured.";
8568          description8673          description
8569            "Set keychain based authentication";8674            "Set keychain based authentication";
8570          leaf name {8675          leaf name {
8571            type string {8676            type string {
8572              length "1..32" {8677              length "1..32" {
8573                description8678                description
8574                  "Name of the key chain - maximum 32 characters";8679                  "Name of the key chain - maximum 32 characters";
8575              }8680              }
8576            }8681            }
8577            description8682            description
8578              "Name of the key chain - maximum 32 characters";8683              "Name of the key chain - maximum 32 characters";
8579          }8684          }
8580          container inheritance-disable {8685          container inheritance-disable {
8581            presence "Indicates a inheritance-disable node is configured.";8686            presence "Indicates a inheritance-disable node is configured.";
8582            description8687            description
8583              "Prevent keychain from being inherited from parent";8688              "Prevent keychain from being inherited from parent";
8584          }8689          }
8585        }8690        }
8586        container local-as {8691        container local-as {
8587          must "as-number or inheritance-disable";8692          must "as-number or inheritance-disable";
8588          presence "Indicates a local-as node is configured.";8693          presence "Indicates a local-as node is configured.";
8589          description8694          description
8590            "Specify local AS number";8695            "Specify local AS number";
8591          leaf as-number {8696          leaf as-number {
8592            type xr:Bgp-as-number;8697            type xr:Bgp-as-number;
8593            description8698            description
8594              "bgp as-number";8699              "bgp as-number";
8595          }8700          }
8596          container no-prepend {8701          container no-prepend {
8597            presence "Indicates a no-prepend node is configured.";8702            presence "Indicates a no-prepend node is configured.";
8598            description8703            description
8599              "Do not prepend local AS to announcements from this neighbor";8704              "Do not prepend local AS to announcements from this neighbor";
8600            container replace-as {8705            container replace-as {
8601              presence "Indicates a replace-as node is configured.";8706              presence "Indicates a replace-as node is configured.";
8602              description8707              description
8603                "Prepend only local AS to announcements to this neighbor";8708                "Prepend only local AS to announcements to this neighbor";
8604              container dual-as {8709              container dual-as {
8605                presence "Indicates a dual-as node is configured.";8710                presence "Indicates a dual-as node is configured.";
8606                description8711                description
8607                  "Dual-AS mode";8712                  "Dual-AS mode";
8608              }8713              }
8609            }8714            }
8610          }8715          }
8611          container inheritance-disable {8716          container inheritance-disable {
8612            presence "Indicates a inheritance-disable node is configured.";8717            presence "Indicates a inheritance-disable node is configured.";
8613            description8718            description
8614              "Prevent local AS from being inherited from parent";8719              "Prevent local AS from being inherited from parent";
8615          }8720          }
8616        }8721        }
8617        container password {8722        container password {
8618          must "encrypted or inheritance-disable";8723          must "encrypted or inheritance-disable";
8619          presence "Indicates a password node is configured.";8724          presence "Indicates a password node is configured.";
8620          description8725          description
8621            "Set a password";8726            "Set a password";
8622          leaf encrypted {8727          leaf encrypted {
8623            type xr:Proprietary-password;8728            type xr:Proprietary-password;
8624            description8729            description
8625              "Specifies an ENCRYPTED password will follow";8730              "Specifies an ENCRYPTED password will follow";
8626          }8731          }
8627          container inheritance-disable {8732          container inheritance-disable {
8628            presence "Indicates a inheritance-disable node is configured.";8733            presence "Indicates a inheritance-disable node is configured.";
8629            description8734            description
8630              "Prevent password from being inherited from parent";8735              "Prevent password from being inherited from parent";
8631          }8736          }
8632        }8737        }
8633        container receive-buffer-size {8738        container receive-buffer-size {
8634          presence "Indicates a receive-buffer-size node is configured.";8739          presence "Indicates a receive-buffer-size node is configured.";
8635          description8740          description
8636            "Set socket and BGP receive buffer size";8741            "Set socket and BGP receive buffer size";
8637          leaf receive-socket-buffer-size {8742          leaf receive-socket-buffer-size {
8638            type uint32 {8743            type uint32 {
8639              range "512..131072" {8744              range "512..131072" {
8640                description8745                description
8641                  "Receive socket buffer size in bytes";8746                  "Receive socket buffer size in bytes";
8642              }8747              }
8643            }8748            }
8644            mandatory true;8749            mandatory true;
8645            description8750            description
8646              "Set socket and BGP receive buffer size";8751              "Set socket and BGP receive buffer size";
8647          }8752          }
8648          leaf bgp-read-buffer-size {8753          leaf bgp-read-buffer-size {
8649            type uint32 {8754            type uint32 {
8650              range "512..131072" {8755              range "512..131072" {
8651                description8756                description
8652                  "BGP Read buffer size in bytes";8757                  "BGP Read buffer size in bytes";
8653              }8758              }
8654            }8759            }
8655            description8760            description
8656              "BGP Read buffer size in bytes";8761              "BGP Read buffer size in bytes";
8657          }8762          }
8658        }8763        }
8659        container send-buffer-size {8764        container send-buffer-size {
8660          presence "Indicates a send-buffer-size node is configured.";8765          presence "Indicates a send-buffer-size node is configured.";
8661          description8766          description
8662            "Set socket and BGP send buffer size";8767            "Set socket and BGP send buffer size";
8663          leaf send-socket-buffer-size {8768          leaf send-socket-buffer-size {
8664            type uint32 {8769            type uint32 {
8665              range "4096..131072" {8770              range "4096..131072" {
8666                description8771                description
8667                  "Send socket buffer size in bytes";8772                  "Send socket buffer size in bytes";
8668              }8773              }
8669            }8774            }
8670            mandatory true;8775            mandatory true;
8671            description8776            description
8672              "Set socket and BGP send buffer size";8777              "Set socket and BGP send buffer size";
8673          }8778          }
8674          leaf bgp-write-buffer-size {8779          leaf bgp-write-buffer-size {
8675            type uint32 {8780            type uint32 {
8676              range "4096..131072" {8781              range "4096..131072" {
8677                description8782                description
8678                  "BGP Write buffer size in bytes";8783                  "BGP Write buffer size in bytes";
8679              }8784              }
8680            }8785            }
8681            description8786            description
8682              "BGP Write buffer size in bytes";8787              "BGP Write buffer size in bytes";
8683          }8788          }
8684        }8789        }
8685        container shutdown {8790        container shutdown {
8686          presence "Indicates a shutdown node is configured.";8791          presence "Indicates a shutdown node is configured.";
8687          description8792          description
8688            "Administratively shut down this neighbor";8793            "Administratively shut down this neighbor";
8689          container inheritance-disable {8794          container inheritance-disable {
8690            presence "Indicates a inheritance-disable node is configured.";8795            presence "Indicates a inheritance-disable node is configured.";
8691            description8796            description
8692              "Prevent this neighbor being shutdown, even if its parent is";8797              "Prevent this neighbor being shutdown, even if its parent is";
8693          }8798          }
8694        }8799        }
8695        container fast-fallover {8800        container fast-fallover {
8696          presence "Indicates a fast-fallover node is configured.";8801          presence "Indicates a fast-fallover node is configured.";
8697          description8802          description
8698            "Force neighbor to be directly connected. Bring neighbor down if its interface goes down";8803            "Force neighbor to be directly connected. Bring neighbor down if its interface goes down";
8699          container inheritance-disable {8804          container inheritance-disable {
8700            presence "Indicates a inheritance-disable node is configured.";8805            presence "Indicates a inheritance-disable node is configured.";
8701            description8806            description
8702              "Prevent this neighbor from inheriting this config from a group it is in";8807              "Prevent this neighbor from inheriting this config from a group it is in";
8703          }8808          }
8704        }8809        }
8705        container timers {8810        container timers {
8706          presence "Indicates a timers node is configured.";8811          presence "Indicates a timers node is configured.";
8707          description8812          description
8708            "BGP per neighbor timers";8813            "BGP per neighbor timers";
8709          leaf keepalive-interval {8814          leaf keepalive-interval {
8710            type uint32 {8815            type uint32 {
8711              range "0..65535" {8816              range "0..65535" {
8712                description8817                description
8713                  "Keepalive interval";8818                  "Keepalive interval";
8714              }8819              }
8715            }8820            }
8716            mandatory true;8821            mandatory true;
8717            description8822            description
8718              "BGP timers";8823              "BGP timers";
8719          }8824          }
8720          leaf holdtime {8825          leaf holdtime {
8721            type union {8826            type union {
8722              type uint32 {8827              type uint32 {
8723                range "0" {8828                range "0" {
8724                  description8829                  description
8725                    "0 to disable keepalives/hold time.";8830                    "0 to disable keepalives/hold time.";
8726                }8831                }
8727              }8832              }
8728              type uint32 {8833              type uint32 {
8729                range "3..65535" {8834                range "3..65535" {
8730                  description8835                  description
8731                    "Holdtime.";8836                    "Holdtime.";
8732                }8837                }
8733              }8838              }
8734            }8839            }
8735            mandatory true;8840            mandatory true;
8736            description8841            description
8737              "Holdtime. Set 0 to disable keepalives/hold time.";8842              "Holdtime. Set 0 to disable keepalives/hold time.";
8738          }8843          }
8739          leaf minimum-acceptable-holdtime {8844          leaf minimum-acceptable-holdtime {
8740            type union {8845            type union {
8741              type uint32 {8846              type uint32 {
8742                range "0" {8847                range "0" {
8743                  description8848                  description
8744                    "0 to disable keepalives/hold time.";8849                    "0 to disable keepalives/hold time.";
8745                }8850                }
8746              }8851              }
8747              type uint32 {8852              type uint32 {
8748                range "3..65535" {8853                range "3..65535" {
8749                  description8854                  description
8750                    "Minimum acceptable holdtime from neighbor.";8855                    "Minimum acceptable holdtime from neighbor.";
8751                }8856                }
8752              }8857              }
8753            }8858            }
8754            description8859            description
8755              "Minimum acceptable holdtime from neighbor. Set 0 to disable keepalives/hold time.";8860              "Minimum acceptable holdtime from neighbor. Set 0 to disable keepalives/hold time.";
8756          }8861          }
8757        }8862        }
8758        container local {8863        container local {
8759          description8864          description
8760            "Configure local parameter";8865            "Configure local parameter";
8761          container address {8866          container address {
8762            must "ip-address or inheritance-disable";8867            must "ip-address or inheritance-disable";
8763            presence "Indicates a address node is configured.";8868            presence "Indicates a address node is configured.";
8764            description8869            description
8765              "use configured local address for bgp peering";8870              "use configured local address for bgp peering";
8766            leaf ip-address {8871            leaf ip-address {
8767              type inet:ip-address-no-zone;8872              type inet:ip-address-no-zone;
8768              description8873              description
8769                "IPv4 address";8874                "IPv4 address";
8770            }8875            }
8771            container inheritance-disable {8876            container inheritance-disable {
8772              presence "Indicates a inheritance-disable node is configured.";8877              presence "Indicates a inheritance-disable node is configured.";
8773              description8878              description
8774                "Prevent local address from being inherited from parent";8879                "Prevent local address from being inherited from parent";
8775            }8880            }
8776          }8881          }
8777        }8882        }
8778        container log {8883        container log {
8779          description8884          description
8780            "Logging update messages per neighbor";8885            "Logging update messages per neighbor";
8781          container message {8886          container message {
8782            description8887            description
8783              "Logging update/notification messages per neighbor";8888              "Logging update/notification messages per neighbor";
8784            container in {8889            container in {
8785              description8890              description
8786                "Inbound log messages";8891                "Inbound log messages";
8787              leaf message-log-buffer-size {8892              leaf message-log-buffer-size {
8788                type uint32 {8893                type uint32 {
8789                  range "1..500" {8894                  range "1..500" {
8790                    description8895                    description
8791                      "Range for message log buffer size";8896                      "Range for message log buffer size";
8792                  }8897                  }
8793                }8898                }
8794                description8899                description
8795                  "Range for message log buffer size";8900                  "Range for message log buffer size";
8796              }8901              }
8797              container disable {8902              container disable {
8798                presence "Indicates a disable node is configured.";8903                presence "Indicates a disable node is configured.";
8799                description8904                description
8800                  "Disable inbound message logging";8905                  "Disable inbound message logging";
8801              }8906              }
8802              container inheritance-diable {8907              container inheritance-diable {
8803                presence "Indicates a inheritance-diable node is configured.";8908                presence "Indicates a inheritance-diable node is configured.";
8804                description8909                description
8805                  "Prevents the msg log from being inherited from the parent";8910                  "Prevents the msg log from being inherited from the parent";
8806              }8911              }
8807            }8912            }
8808            container out {8913            container out {
8809              description8914              description
8810                "Outbound log messages";8915                "Outbound log messages";
8811              leaf message-log-buffer-size {8916              leaf message-log-buffer-size {
8812                type uint32 {8917                type uint32 {
8813                  range "1..500" {8918                  range "1..500" {
8814                    description8919                    description
8815                      "Range for message log buffer size";8920                      "Range for message log buffer size";
8816                  }8921                  }
8817                }8922                }
8818                description8923                description
8819                  "Range for message log buffer size";8924                  "Range for message log buffer size";
8820              }8925              }
8821              container disable {8926              container disable {
8822                presence "Indicates a disable node is configured.";8927                presence "Indicates a disable node is configured.";
8823                description8928                description
8824                  "Disable outbound message logging";8929                  "Disable outbound message logging";
8825              }8930              }
8826              container inheritance-diable {8931              container inheritance-diable {
8827                presence "Indicates a inheritance-diable node is configured.";8932                presence "Indicates a inheritance-diable node is configured.";
8828                description8933                description
8829                  "Prevents the msg log from being inherited from the parent";8934                  "Prevents the msg log from being inherited from the parent";
8830              }8935              }
8831            }8936            }
8832          }8937          }
8833          container neighbor {8938          container neighbor {
8834            description8939            description
8835              "Log neighbor state info";8940              "Log neighbor state info";
8836            container changes {8941            container changes {
8837              description8942              description
8838                "Log neighbor state changes";8943                "Log neighbor state changes";
8839              container detail {8944              container detail {
8840                must "not(../disable or ../inheritance-disable)";8945                must "not(../disable or ../inheritance-disable)";
8841                presence "Indicates a detail node is configured.";8946                presence "Indicates a detail node is configured.";
8842                description8947                description
8843                  "detail";8948                  "detail";
8844              }8949              }
8845              container disable {8950              container disable {
8846                must "not(../detail or ../inheritance-disable)";8951                must "not(../detail or ../inheritance-disable)";
8847                presence "Indicates a disable node is configured.";8952                presence "Indicates a disable node is configured.";
8848                description8953                description
8849                  "disable";8954                  "disable";
8850              }8955              }
8851              container inheritance-disable {8956              container inheritance-disable {
8852                must "not(../detail or ../disable)";8957                must "not(../detail or ../disable)";
8853                presence "Indicates a inheritance-disable node is configured.";8958                presence "Indicates a inheritance-disable node is configured.";
8854                description8959                description
8855                  "Prevents the log state changes from being inherited from the parent";8960                  "Prevents the log state changes from being inherited from the parent";
8856              }8961              }
8857            }8962            }
8858          }8963          }
8859        }8964        }
8860        leaf update-source {8965        leaf update-source {
8861          type xr:Interface-name;8966          type xr:Interface-name;
8862          description8967          description
8863            "Source of routing updates";8968            "Source of routing updates";
8864        }8969        }
8865        container local-address-subnet {8970        container local-address-subnet {
8866          description8971          description
8867            "Local address subnet of routing updates";8972            "Local address subnet of routing updates";
8868          leaf ip-address {8973          leaf ip-address {
8869            type inet:ip-address-no-zone;8974            type inet:ip-address-no-zone;
8870            description8975            description
8871              "IPv6 address and mask or masklength";8976              "IPv6 address and mask or masklength";
8872          }8977          }
8873          leaf mask-length {8978          leaf mask-length {
8874            type uint32 {8979            type uint32 {
8875              range "0..128" {8980              range "0..128" {
8876                description8981                description
8877                  "IP address mask length";8982                  "IP address mask length";
8878              }8983              }
8879            }8984            }
8880            description8985            description
8881              "IP address and mask length";8986              "IP address and mask length";
8882          }8987          }
8883        }8988        }
8884        container dmz-link-bandwidth {8989        container dmz-link-bandwidth {
8885          presence "Indicates a dmz-link-bandwidth node is configured.";8990          presence "Indicates a dmz-link-bandwidth node is configured.";
8886          description8991          description
8887            "Propagate the DMZ link bandwidth";8992            "Propagate the DMZ link bandwidth";
8888          container inheritance-disable {8993          container inheritance-disable {
8889            presence "Indicates a inheritance-disable node is configured.";8994            presence "Indicates a inheritance-disable node is configured.";
8890            description8995            description
8891              "Prevent dmz-link-bandwidth from being inherited from the parent";8996              "Prevent dmz-link-bandwidth from being inherited from the parent";
8892          }8997          }
8893        }8998        }
8894        container ebgp-recv-extcommunity-dmz {8999        container ebgp-recv-extcommunity-dmz {
8895          presence "Indicates a ebgp-recv-extcommunity-dmz node is configured.";9000          presence "Indicates a ebgp-recv-extcommunity-dmz node is configured.";
8896          description9001          description
8897            "Receive extcommunity dmz link bandwidth from ebgp neighbor";9002            "Receive extcommunity dmz link bandwidth from ebgp neighbor";
8898          container inheritance-disable {9003          container inheritance-disable {
8899            presence "Indicates a inheritance-disable node is configured.";9004            presence "Indicates a inheritance-disable node is configured.";
8900            description9005            description
8901              "Prevent ebgp-send-community-dmz from being inherited from parent";9006              "Prevent ebgp-send-community-dmz from being inherited from parent";
8902          }9007          }
8903        }9008        }
8904        container ebgp-send-extcommunity-dmz {9009        container ebgp-send-extcommunity-dmz {
8905          must "not(cumulative and inheritance-disable)";9010          must "not(cumulative and inheritance-disable)";
8906          presence "Indicates a ebgp-send-extcommunity-dmz node is configured.";9011          presence "Indicates a ebgp-send-extcommunity-dmz node is configured.";
8907          description9012          description
8908            "Send extended community dmz link bandwidth to ebgp neighbor";9013            "Send extended community dmz link bandwidth to ebgp neighbor";
8909          container cumulative {9014          container cumulative {
8910            presence "Indicates a cumulative node is configured.";9015            presence "Indicates a cumulative node is configured.";
8911            description9016            description
8912              "Send cumulative community dmz link bandwidth of all multipaths to ebgp neighbor";9017              "Send cumulative community dmz link bandwidth of all multipaths to ebgp neighbor";
8913          }9018          }
8914          container inheritance-disable {9019          container inheritance-disable {
8915            presence "Indicates a inheritance-disable node is configured.";9020            presence "Indicates a inheritance-disable node is configured.";
8916            description9021            description
8917              "Prevent ebgp-send-extcommunity-dmz from being inherited from parent";9022              "Prevent ebgp-send-extcommunity-dmz from being inherited from parent";
8918          }9023          }
8919        }9024        }
8920        container ttl-security {9025        container ttl-security {
8921          presence "Indicates a ttl-security node is configured.";9026          presence "Indicates a ttl-security node is configured.";
8922          description9027          description
8923            "Enable EBGP TTL security";9028            "Enable EBGP TTL security";
8924          container inheritance-disable {9029          container inheritance-disable {
8925            presence "Indicates a inheritance-disable node is configured.";9030            presence "Indicates a inheritance-disable node is configured.";
8926            description9031            description
8927              "Prevent ttl-security from being inherited from the parent";9032              "Prevent ttl-security from being inherited from the parent";
8928          }9033          }
8929        }9034        }
8930        container session-open-mode {9035        container session-open-mode {
8931          description9036          description
8932            "Establish BGP session using this TCP open mode";9037            "Establish BGP session using this TCP open mode";
8933          container active-only {9038          container active-only {
8934            must "not(../passive-only or ../both)";9039            must "not(../passive-only or ../both)";
8935            presence "Indicates a active-only node is configured.";9040            presence "Indicates a active-only node is configured.";
8936            description9041            description
8937              "Active only";9042              "Active only";
8938          }9043          }
8939          container passive-only {9044          container passive-only {
8940            must "not(../active-only or ../both)";9045            must "not(../active-only or ../both)";
8941            presence "Indicates a passive-only node is configured.";9046            presence "Indicates a passive-only node is configured.";
8942            description9047            description
8943              "Passive only";9048              "Passive only";
8944          }9049          }
8945          container both {9050          container both {
8946            must "not(../active-only or ../passive-only)";9051            must "not(../active-only or ../passive-only)";
8947            presence "Indicates a both node is configured.";9052            presence "Indicates a both node is configured.";
8948            description9053            description
8949              "Prevent session-open-mode being inherited from the parent";9054              "Prevent session-open-mode being inherited from the parent";
8950          }9055          }
8951        }9056        }
8952        leaf dscp {9057        leaf dscp {
8953          type enumeration {9058          type enumeration {
8954            enum "default" {9059            enum "default" {
8955              value 0;9060              value 0;
8956              description9061              description
8957                "Set packets with default dscp (000000)";9062                "Set packets with default dscp (000000)";
8958            }9063            }
8959            enum "cs1" {9064            enum "cs1" {
8960              value 8;9065              value 8;
8961              description9066              description
8962                "Set packets with CS1(precedence 1) dscp (001000)";9067                "Set packets with CS1(precedence 1) dscp (001000)";
8963            }9068            }
8964            enum "af11" {9069            enum "af11" {
8965              value 10;9070              value 10;
8966              description9071              description
8967                "Set packets with AF11 dscp (001010)";9072                "Set packets with AF11 dscp (001010)";
8968            }9073            }
8969            enum "af12" {9074            enum "af12" {
8970              value 12;9075              value 12;
8971              description9076              description
8972                "Set packets with AF12 dscp (001100)";9077                "Set packets with AF12 dscp (001100)";
8973            }9078            }
8974            enum "af13" {9079            enum "af13" {
8975              value 14;9080              value 14;
8976              description9081              description
8977                "Set packets with AF13 dscp (001110)";9082                "Set packets with AF13 dscp (001110)";
8978            }9083            }
8979            enum "cs2" {9084            enum "cs2" {
8980              value 16;9085              value 16;
8981              description9086              description
8982                "Set packets with CS2(precedence 2) dscp (010000)";9087                "Set packets with CS2(precedence 2) dscp (010000)";
8983            }9088            }
8984            enum "af21" {9089            enum "af21" {
8985              value 18;9090              value 18;
8986              description9091              description
8987                "Set packets with AF21 dscp (010010)";9092                "Set packets with AF21 dscp (010010)";
8988            }9093            }
8989            enum "af22" {9094            enum "af22" {
8990              value 20;9095              value 20;
8991              description9096              description
8992                "Set packets with AF22 dscp (010100)";9097                "Set packets with AF22 dscp (010100)";
8993            }9098            }
8994            enum "af23" {9099            enum "af23" {
8995              value 22;9100              value 22;
8996              description9101              description
8997                "Set packets with AF23 dscp (010110)";9102                "Set packets with AF23 dscp (010110)";
8998            }9103            }
8999            enum "cs3" {9104            enum "cs3" {
9000              value 24;9105              value 24;
9001              description9106              description
9002                "Set packets with CS3(precedence 3) dscp (011000)";9107                "Set packets with CS3(precedence 3) dscp (011000)";
9003            }9108            }
9004            enum "af31" {9109            enum "af31" {
9005              value 26;9110              value 26;
9006              description9111              description
9007                "Set packets with AF31 dscp (011010)";9112                "Set packets with AF31 dscp (011010)";
9008            }9113            }
9009            enum "af32" {9114            enum "af32" {
9010              value 28;9115              value 28;
9011              description9116              description
9012                "Set packets with AF32 dscp (011100)";9117                "Set packets with AF32 dscp (011100)";
9013            }9118            }
9014            enum "af33" {9119            enum "af33" {
9015              value 30;9120              value 30;
9016              description9121              description
9017                "Set packets with AF33 dscp (011110)";9122                "Set packets with AF33 dscp (011110)";
9018            }9123            }
9019            enum "cs4" {9124            enum "cs4" {
9020              value 32;9125              value 32;
9021              description9126              description
9022                "Set packets with CS4(precedence 4) dscp (100000)";9127                "Set packets with CS4(precedence 4) dscp (100000)";
9023            }9128            }
9024            enum "af41" {9129            enum "af41" {
9025              value 34;9130              value 34;
9026              description9131              description
9027                "Set packets with AF41 dscp (100010)";9132                "Set packets with AF41 dscp (100010)";
9028            }9133            }
9029            enum "af42" {9134            enum "af42" {
9030              value 36;9135              value 36;
9031              description9136              description
9032                "Set packets with AF42 dscp (100100)";9137                "Set packets with AF42 dscp (100100)";
9033            }9138            }
9034            enum "af43" {9139            enum "af43" {
9035              value 38;9140              value 38;
9036              description9141              description
9037                "Set packets with AF43 dscp (100110)";9142                "Set packets with AF43 dscp (100110)";
9038            }9143            }
9039            enum "cs5" {9144            enum "cs5" {
9040              value 40;9145              value 40;
9041              description9146              description
9042                "Set packets with CS5(precedence 5) dscp (101000)";9147                "Set packets with CS5(precedence 5) dscp (101000)";
9043            }9148            }
9044            enum "ef" {9149            enum "ef" {
9045              value 46;9150              value 46;
9046              description9151              description
9047                "Set packets with EF dscp (101110)";9152                "Set packets with EF dscp (101110)";
9048            }9153            }
9049            enum "cs6" {9154            enum "cs6" {
9050              value 48;9155              value 48;
9051              description9156              description
9052                "Set packets with CS6(precedence 6) dscp (110000)";9157                "Set packets with CS6(precedence 6) dscp (110000)";
9053            }9158            }
9054            enum "cs7" {9159            enum "cs7" {
9055              value 56;9160              value 56;
9056              description9161              description
9057                "Set packets with CS7(precedence 7) dscp (111000)";9162                "Set packets with CS7(precedence 7) dscp (111000)";
9058            }9163            }
9059          }9164          }
9060          description9165          description
9061            "Set IP DSCP (DiffServ CodePoint)";9166            "Set IP DSCP (DiffServ CodePoint)";
9062        }9167        }
9063        leaf precedence {9168        leaf precedence {
9064          type enumeration {9169          type enumeration {
9065            enum "routine" {9170            enum "routine" {
9066              value 0;9171              value 0;
9067              description9172              description
9068                "Set packets with routine precedence (0)";9173                "Set packets with routine precedence (0)";
9069            }9174            }
9070            enum "priority" {9175            enum "priority" {
9071              value 1;9176              value 1;
9072              description9177              description
9073                "Set packets with priority precedence (1)";9178                "Set packets with priority precedence (1)";
9074            }9179            }
9075            enum "immediate" {9180            enum "immediate" {
9076              value 2;9181              value 2;
9077              description9182              description
9078                "Set packets with immediate precedence (2)";9183                "Set packets with immediate precedence (2)";
9079            }9184            }
9080            enum "flash" {9185            enum "flash" {
9081              value 3;9186              value 3;
9082              description9187              description
9083                "Set packets with flash precedence (3)";9188                "Set packets with flash precedence (3)";
9084            }9189            }
9085            enum "flash-override" {9190            enum "flash-override" {
9086              value 4;9191              value 4;
9087              description9192              description
9088                "Set packets with flash override precedence (4)";9193                "Set packets with flash override precedence (4)";
9089            }9194            }
9090            enum "critical" {9195            enum "critical" {
9091              value 5;9196              value 5;
9092              description9197              description
9093                "Set packets with critical precedence (5)";9198                "Set packets with critical precedence (5)";
9094            }9199            }
9095            enum "internet" {9200            enum "internet" {
9096              value 6;9201              value 6;
9097              description9202              description
9098                "Set packets with internetwork control precedence (6)";9203                "Set packets with internetwork control precedence (6)";
9099            }9204            }
9100            enum "network" {9205            enum "network" {
9101              value 7;9206              value 7;
9102              description9207              description
9103                "Set packets with network control precedence (7)";9208                "Set packets with network control precedence (7)";
9104            }9209            }
9105          }9210          }
9106          description9211          description
9107            "Set precedence";9212            "Set precedence";
9108        }9213        }
9109        container capability {9214        container capability {
9110          description9215          description
9111            "Advertise capability to the peer";9216            "Advertise capability to the peer";
9112          container suppress {9217          container suppress {
9113            description9218            description
9114              "Suppress advertising capability to the peer ";9219              "Suppress advertising capability to the peer ";
9115            container four-byte-as {9220            container four-byte-as {
9116              presence "Indicates a four-byte-as node is configured.";9221              presence "Indicates a four-byte-as node is configured.";
9117              description9222              description
9118                "4-byte-as capability";9223                "4-byte-as capability";
9119              container inheritance-disable {9224              container inheritance-disable {
9120                presence "Indicates a inheritance-disable node is configured.";9225                presence "Indicates a inheritance-disable node is configured.";
9121                description9226                description
9122                  "Prevent capability suppress 4-type-as being inherited from the parent";9227                  "Prevent capability suppress 4-type-as being inherited from the parent";
9123              }9228              }
9124            }9229            }
9125            container all {9230            container all {
9126              presence "Indicates a all node is configured.";9231              presence "Indicates a all node is configured.";
9127              description9232              description
9128                "All capabilities";9233                "All capabilities";
9129              container inheritance-disable {9234              container inheritance-disable {
9130                presence "Indicates a inheritance-disable node is configured.";9235                presence "Indicates a inheritance-disable node is configured.";
9131                description9236                description
9132                  "Do not inherit this configuration from parent group";9237                  "Do not inherit this configuration from parent group";
9133              }9238              }
9134            }9239            }
9135            container extended-nexthop-encoding {9240            container extended-nexthop-encoding {
9136              presence "Indicates a extended-nexthop-encoding node is configured.";9241              presence "Indicates a extended-nexthop-encoding node is configured.";
9137              description9242              description
9138                "Extended-nexthop-encoding capabilities (IETF RFC 5549)";9243                "Extended-nexthop-encoding capabilities (IETF RFC 5549)";
9139              container inheritance-disable {9244              container inheritance-disable {
9140                presence "Indicates a inheritance-disable node is configured.";9245                presence "Indicates a inheritance-disable node is configured.";
9141                description9246                description
9142                  "Do not inherit this configuration from parent group";9247                  "Do not inherit this configuration from parent group";
9143              }9248              }
9144            }9249            }
9145          }9250          }
9146          container additional-paths {9251          container additional-paths {
9147            description9252            description
9148              "Additional paths capability";9253              "Additional paths capability";
9149            container send {9254            container send {
9150              presence "Indicates a send node is configured.";9255              presence "Indicates a send node is configured.";
9151              description9256              description
9152                "Additional paths Send capability";9257                "Additional paths Send capability";
9153              container disable {9258              container disable {
9154                presence "Indicates a disable node is configured.";9259                presence "Indicates a disable node is configured.";
9155                description9260                description
9156                  "Do not advertise additional paths Send capability";9261                  "Do not advertise additional paths Send capability";
9157              }9262              }
9158            }9263            }
9159            container receive {9264            container receive {
9160              presence "Indicates a receive node is configured.";9265              presence "Indicates a receive node is configured.";
9161              description9266              description
9162                "Additional paths Receive capability";9267                "Additional paths Receive capability";
9163              container disable {9268              container disable {
9164                presence "Indicates a disable node is configured.";9269                presence "Indicates a disable node is configured.";
9165                description9270                description
9166                  "Do not advertise additional paths Receive capability";9271                  "Do not advertise additional paths Receive capability";
9167              }9272              }
9168            }9273            }
9169          }9274          }
9170        }9275        }
9171        container graceful-restart {9276        container graceful-restart {
9172          presence "Indicates a graceful-restart node is configured.";9277          presence "Indicates a graceful-restart node is configured.";
9173          description9278          description
9174            "Enable graceful restart support for this neighbor";9279            "Enable graceful restart support for this neighbor";
9175          container disable {9280          container disable {
9176            presence "Indicates a disable node is configured.";9281            presence "Indicates a disable node is configured.";
9177            description9282            description
9178              "Disable graceful restart support for this neighbor";9283              "Disable graceful restart support for this neighbor";
9179          }9284          }
9180          leaf restart-time {9285          leaf restart-time {
9181            type uint32 {9286            type uint32 {
9182              range "1..4095" {9287              range "1..4095" {
9183                description9288                description
9184                  "Max time (seconds)";9289                  "Max time (seconds)";
9185              }9290              }
9186            }9291            }
9187            description9292            description
9188              "Restart time advertised to the neighbor";9293              "Restart time advertised to the neighbor";
9189          }9294          }
9190          leaf stalepath-time {9295          leaf stalepath-time {
9191            type uint32 {9296            type uint32 {
9192              range "1..4095" {9297              range "1..4095" {
9193                description9298                description
9194                  "Max time (seconds)";9299                  "Max time (seconds)";
9195              }9300              }
9196            }9301            }
9197            description9302            description
9198              "Maximum time to wait for restart of GR capable peer";9303              "Maximum time to wait for restart of GR capable peer";
9199          }9304          }
9200        }9305        }
9201        container enforce-first-as {9306        container enforce-first-as {
9202          presence "Indicates a enforce-first-as node is configured.";9307          presence "Indicates a enforce-first-as node is configured.";
9203          description9308          description
9204            "Enforce the first AS for EBGP routes";9309            "Enforce the first AS for EBGP routes";
9205          container disable {9310          container disable {
9206            presence "Indicates a disable node is configured.";9311            presence "Indicates a disable node is configured.";
9207            description9312            description
9208              "Do not enforce the first AS for EBGP routes";9313              "Do not enforce the first AS for EBGP routes";
9209          }9314          }
9210        }9315        }
9211        container cluster-id {9316        container cluster-id {
9212          description9317          description
9213            "Enter cluster id for this neighbor";9318            "Enter cluster id for this neighbor";
9214          leaf route-reflector-cluster-id {9319          leaf route-reflector-cluster-id {
9215            type uint32 {9320            type uint32 {
9216              range "1..4294967295" {9321              range "1..4294967295" {
9217                description9322                description
9218                  "Route-Reflector Cluster-id as 32 bit quantity";9323                  "Route-Reflector Cluster-id as 32 bit quantity";
9219              }9324              }
9220            }9325            }
9221            description9326            description
9222              "Route-Reflector Cluster-id as 32 bit quantity";9327              "Route-Reflector Cluster-id as 32 bit quantity";
9223          }9328          }
9224          leaf ip-address {9329          leaf ip-address {
9225            type inet:ipv4-address-no-zone;9330            type inet:ipv4-address-no-zone;
9226            description9331            description
9227              "Route-Reflector Cluster-id in IP address format";9332              "Route-Reflector Cluster-id in IP address format";
9228          }9333          }
9229        }9334        }
9230        leaf maximum-peers {9335        leaf maximum-peers {
9231          type uint32 {9336          type uint32 {
9232            range "1..4095" {9337            range "1..4095" {
9233              description9338              description
9234                "Maximum number of peers";9339                "Maximum number of peers";
9235            }9340            }
9236          }9341          }
9237          description9342          description
9238            "Maximum dynamic neighbors";9343            "Maximum dynamic neighbors";
9239        }9344        }
9240        leaf idle-watch-time {9345        leaf idle-watch-time {
9241          type uint32 {9346          type uint32 {
9242            range "30..1800" {9347            range "30..1800" {
9243              description9348              description
9244                "Max time (seconds)";9349                "Max time (seconds)";
9245            }9350            }
9246          }9351          }
9247          description9352          description
9248            "Maximum time to wait for deletion of IDLE state dynamic peer";9353            "Maximum time to wait for deletion of IDLE state dynamic peer";
9249        }9354        }
9250        container egress-engineering {9355        container egress-engineering {
9251          presence "Indicates a egress-engineering node is configured.";9356          presence "Indicates a egress-engineering node is configured.";
9252          description9357          description
9253            "Enable egress peer engineering for this neighbor";9358            "Enable egress peer engineering for this neighbor";
9254          container inheritance-disable {9359          container inheritance-disable {
9255            presence "Indicates a inheritance-disable node is configured.";9360            presence "Indicates a inheritance-disable node is configured.";
9256            description9361            description
9257              "Do not inherit egress-engineering from the parent";9362              "Do not inherit egress-engineering from the parent";
9258          }9363          }
9259        }9364        }
9260        container peer-sets {9365        container peer-sets {
9261          description9366          description
9262            "Assign this neighbor to a peer-set used for egress peer engineering";9367            "Assign this neighbor to a peer-set used for egress peer engineering";
9263          list peer-set {9368          list peer-set {
9264            key "peer-set-id";9369            key "peer-set-id";
9265            description9370            description
9266              "Assign this neighbor to a peer-set used for egress peer engineering";9371              "Assign this neighbor to a peer-set used for egress peer engineering";
9267            leaf peer-set-id {9372            leaf peer-set-id {
9268              type uint32 {9373              type uint32 {
9269                range "1..255" {9374                range "1..255" {
9270                  description9375                  description
9271                    "Identity value of peer-set";9376                    "Identity value of peer-set";
9272                }9377                }
9273              }9378              }
9274              description9379              description
9275                "Assign this neighbor to a peer-set used for egress peer engineering";9380                "Assign this neighbor to a peer-set used for egress peer engineering";
9276            }9381            }
9277          }9382          }
9278        }9383        }
9279        container ao {9384        container ao {
9280          description9385          description
9281            "Enable Authentiation Option";9386            "Enable Authentiation Option";
9282          leaf key-chain-name {9387          leaf key-chain-name {
9283            type string {9388            type string {
9284              length "1..32" {9389              length "1..32" {
9285                description9390                description
9286                  "Name of the key chain - maximum 32 characters";9391                  "Name of the key chain - maximum 32 characters";
9287              }9392              }
9288            }9393            }
9289            must "not(../inheritance-disable) and (../include-tcp-options/enable or ../include-tcp-options/disable)";9394            must "not(../inheritance-disable) and (../include-tcp-options/enable or ../include-tcp-options/disable)";
9290            description9395            description
9291              "Name of the key chain - maximum 32 characters";9396              "Name of the key chain - maximum 32 characters";
9292          }9397          }
9293          container include-tcp-options {9398          container include-tcp-options {
9294            description9399            description
9295              "Include/Exclude other TCP options in the header";9400              "Include/Exclude other TCP options in the header";
9296            container enable {9401            container enable {
9297              must "not(../disable or ../../inheritance-disable)";9402              must "not(../disable or ../../inheritance-disable)";
9298              presence "Indicates a enable node is configured.";9403              presence "Indicates a enable node is configured.";
9299              description9404              description
9300                "Include other TCP options in the header";9405                "Include other TCP options in the header";
9301            }9406            }
9302            container disable {9407            container disable {
9303              must "not(../enable or ../../inheritance-disable)";9408              must "not(../enable or ../../inheritance-disable)";
9304              presence "Indicates a disable node is configured.";9409              presence "Indicates a disable node is configured.";
9305              description9410              description
9306                "Exclude other TCP options in the header";9411                "Exclude other TCP options in the header";
9307            }9412            }
9308            container accept-ao-mismatch-connection {9413            container accept-ao-mismatch-connection {
9309              must "../enable or ../disable";9414              must "../enable or ../disable";
9310              presence "Indicates a accept-ao-mismatch-connection node is configured.";9415              presence "Indicates a accept-ao-mismatch-connection node is configured.";
9311              description9416              description
9312                "Accept new connection even if AO mismatched";9417                "Accept new connection even if AO mismatched";
9313            }9418            }
9314          }9419          }
9315          container inheritance-disable {9420          container inheritance-disable {
9316            must "not(../key-chain-name)";9421            must "not(../key-chain-name)";
9317            presence "Indicates a inheritance-disable node is configured.";9422            presence "Indicates a inheritance-disable node is configured.";
9318            description9423            description
9319              "Prevent keychain from being inherited from parent";9424              "Prevent keychain from being inherited from parent";
9320          }9425          }
9321        }9426        }
9322        leaf maximum-prefix-restart-time {9427        leaf maximum-prefix-restart-time {
9323          type uint32 {9428          type uint32 {
9324            range "1..65535" {9429            range "1..65535" {
9325              description9430              description
9326                "Maximum prefix restart time (minutes)";9431                "Maximum prefix restart time (minutes)";
9327            }9432            }
9328          }9433          }
9329          description9434          description
9330            "Restart timer interval";9435            "Restart timer interval";
9331        }9436        }
9332      }9437      }
9333    }9438    }
9334    container neighbor-groups {9439    container neighbor-groups {
9335      description9440      description
9336        "Specify a Neighbor-group";9441        "Specify a Neighbor-group";
9337      list neighbor-group {9442      list neighbor-group {
9338        key "neighbor-group-name";9443        key "neighbor-group-name";
9339        description9444        description
9340          "Specify a Neighbor-group";9445          "Specify a Neighbor-group";
9341        leaf neighbor-group-name {9446        leaf neighbor-group-name {
9342          type xr:Cisco-ios-xr-string {9447          type xr:Cisco-ios-xr-string {
9343            length "1..900" {9448            length "1..900" {
9344              description9449              description
9345                "Neighbor-group name";9450                "Neighbor-group name";
9346            }9451            }
9347          }9452          }
9348          description9453          description
9349            "Specify a Neighbor-group";9454            "Specify a Neighbor-group";
9350        }9455        }
9351        container address-families {9456        container address-families {
9352          description9457          description
9353            "Enter Address Family command mode";9458            "Enter Address Family command mode";
9354          list address-family {9459          list address-family {
9355            key "af-name";9460            key "af-name";
9356            description9461            description
9357              "Enter Address Family command mode";9462              "Enter Address Family command mode";
9358            leaf af-name {9463            leaf af-name {
9359              type Bgp-address-family;9464              type Bgp-address-family;
9360              description9465              description
9361                "Enter Address Family command mode";9466                "Enter Address Family command mode";
9362            }9467            }
9363            container multipath {9468            container multipath {
9364              presence "Indicates a multipath node is configured.";9469              presence "Indicates a multipath node is configured.";
9365              description9470              description
9366                "Paths from this neighbor is eligible for multipath";9471                "Paths from this neighbor is eligible for multipath";
9367            }9472            }
9368            container use {9473            container use {
9369              description9474              description
9370                "Inherit configuration for this address-family from a group";9475                "Inherit configuration for this address-family from a group";
9371              leaf af-group {9476              leaf af-group {
9372                type string {9477                type string {
9373                  length "1..1024" {9478                  length "1..1024" {
9374                    description9479                    description
9375                      "AF group name";9480                      "AF group name";
9376                  }9481                  }
9377                }9482                }
9378                description9483                description
9379                  "Inherit configuration for this address-family from an af-group";9484                  "Inherit configuration for this address-family from an af-group";
9380              }9485              }
9381            }9486            }
9382            container capability {9487            container capability {
9383              description9488              description
9384                "Advertise capability to the peer";9489                "Advertise capability to the peer";
9385              container orf {9490              container orf {
9386                description9491                description
9387                  "Advertise ORF capability to the peer";9492                  "Advertise ORF capability to the peer";
9388                container prefix {9493                container prefix {
9389                  description9494                  description
9390                    "Advertise address prefix ORF capability to this neighbor";9495                    "Advertise address prefix ORF capability to this neighbor";
9391                  container receive {9496                  container receive {
9392                    must "not(../send or ../both or ../none)";9497                    must "not(../send or ../both or ../none)";
9393                    presence "Indicates a receive node is configured.";9498                    presence "Indicates a receive node is configured.";
9394                    description9499                    description
9395                      "Capability to RECEIVE the ORF from this neighbor";9500                      "Capability to RECEIVE the ORF from this neighbor";
9396                  }9501                  }
9397                  container send {9502                  container send {
9398                    must "not(../receive or ../both or ../none)";9503                    must "not(../receive or ../both or ../none)";
9399                    presence "Indicates a send node is configured.";9504                    presence "Indicates a send node is configured.";
9400                    description9505                    description
9401                      "Capability to SEND the ORF to this neighbor";9506                      "Capability to SEND the ORF to this neighbor";
9402                  }9507                  }
9403                  container both {9508                  container both {
9404                    must "not(../receive or ../send or ../none)";9509                    must "not(../receive or ../send or ../none)";
9405                    presence "Indicates a both node is configured.";9510                    presence "Indicates a both node is configured.";
9406                    description9511                    description
9407                      "Capability to RECEIVE and SEND the ORF from/to this neighbor";9512                      "Capability to RECEIVE and SEND the ORF from/to this neighbor";
9408                  }9513                  }
9409                  container none {9514                  container none {
9410                    must "not(../receive or ../send or ../both)";9515                    must "not(../receive or ../send or ../both)";
9411                    presence "Indicates a none node is configured.";9516                    presence "Indicates a none node is configured.";
9412                    description9517                    description
9413                      "No capability to RECEIVE or SEND the ORF from/to this neighbor";9518                      "No capability to RECEIVE or SEND the ORF from/to this neighbor";
9414                  }9519                  }
9415                }9520                }
9416              }9521              }
9417            }9522            }
9418            container default-originate {9523            container default-originate {
9419              presence "Indicates a default-originate node is configured.";9524              presence "Indicates a default-originate node is configured.";
9420              description9525              description
9421                "Originate default route to this neighbor";9526                "Originate default route to this neighbor";
9422              leaf route-policy {9527              leaf route-policy {
9423                type xr:Route-policy-name;9528                type xr:Route-policy-name;
9424                description9529                description
9425                  "Route policy to specify criteria to originate default";9530                  "Route policy to specify criteria to originate default";
9426              }9531              }
9427              container inheritance-disable {9532              container inheritance-disable {
9428                must "not(../route-policy)";9533                must "not(../route-policy)";
9429                presence "Indicates a inheritance-disable node is configured.";9534                presence "Indicates a inheritance-disable node is configured.";
9430                description9535                description
9431                  "Prevent default-originate being inherited from a parent group";9536                  "Prevent default-originate being inherited from a parent group";
9432              }9537              }
9433            }9538            }
9434            container maximum-prefix {9539            container maximum-prefix {
9435              presence "Indicates a maximum-prefix node is configured.";9540              presence "Indicates a maximum-prefix node is configured.";
9436              description9541              description
9437                "Maximum number of prefixes to accept from this peer";9542                "Maximum number of prefixes to accept from this peer";
9438              leaf prefix-limit {9543              leaf prefix-limit {
9439                type uint32 {9544                type uint32 {
9440                  range "1..4294967295" {9545                  range "1..4294967295" {
9441                    description9546                    description
9442                      "maximum no. of prefix limit";9547                      "maximum no. of prefix limit";
9443                  }9548                  }
9444                }9549                }
9445                mandatory true;9550                mandatory true;
9446                description9551                description
9447                  "Maximum number of prefixes to accept from this peer";9552                  "Maximum number of prefixes to accept from this peer";
9448              }9553              }
9449              leaf threshold {9554              leaf threshold {
9450                type uint32 {9555                type uint32 {
9451                  range "1..100" {9556                  range "1..100" {
9452                    description9557                    description
9453                      "Threshold value (%) at which to generate a warning msg";9558                      "Threshold value (%) at which to generate a warning msg";
9454                  }9559                  }
9455                }9560                }
9456                mandatory true;9561                mandatory true;
9457                description9562                description
9458                  "Threshold value (%) at which to generate a warning msg";9563                  "Threshold value (%) at which to generate a warning msg";
9459              }9564              }
9460              container warning-only {9565              container warning-only {
9461                presence "Indicates a warning-only node is configured.";9566                presence "Indicates a warning-only node is configured.";
9462                description9567                description
9463                  "Only give warning message when limit is exceeded";9568                  "Only give warning message when limit is exceeded";
9464              }9569              }
9465              leaf restart {9570              leaf restart {
9466                type uint32 {9571                type uint32 {
9467                  range "1..65535" {9572                  range "1..65535" {
9468                    description9573                    description
9469                      "Time interval (min) after which peering session will be reestablished";9574                      "Time interval (min) after which peering session will be reestablished";
9470                  }9575                  }
9471                }9576                }
9472                description9577                description
9473                  "Restart time interval";9578                  "Restart time interval";
9474              }9579              }
9475              container discard-extra-paths {9580              container discard-extra-paths {
9476                presence "Indicates a discard-extra-paths node is configured.";9581                presence "Indicates a discard-extra-paths node is configured.";
9477                description9582                description
9478                  "Discard extra paths when limit is exceeded";9583                  "Discard extra paths when limit is exceeded";
9479              }9584              }
9480            }9585            }
9481            leaf optimal-route-reflection {9586            leaf optimal-route-reflection {
9482              type string {9587              type string {
9483                length "1..32" {9588                length "1..32" {
9484                  description9589                  description
9485                    "ORR group name - maximum 32 characters";9590                    "ORR group name - maximum 32 characters";
9486                }9591                }
9487              }9592              }
9488              description9593              description
9489                "Configure optiomal-route-reflection for this neighbor";9594                "Configure optiomal-route-reflection for this neighbor";
9490            }9595            }
9491            container next-hop-self {9596            container next-hop-self {
9492              presence "Indicates a next-hop-self node is configured.";9597              presence "Indicates a next-hop-self node is configured.";
9493              description9598              description
9494                "Disable the next hop calculation for this neighbor";9599                "Disable the next hop calculation for this neighbor";
9495              container inheritance-disable {9600              container inheritance-disable {
9496                presence "Indicates a inheritance-disable node is configured.";9601                presence "Indicates a inheritance-disable node is configured.";
9497                description9602                description
9498                  "Prevent next-hop-self from being inherited from the parent";9603                  "Prevent next-hop-self from being inherited from the parent";
9499              }9604              }
9500            }9605            }
9501            container next-hop-unchanged {9606            container next-hop-unchanged {
9502              presence "Indicates a next-hop-unchanged node is configured.";9607              presence "Indicates a next-hop-unchanged node is configured.";
9503              description9608              description
9504                "Do not overwrite next hop before advertising to eBGP peers";9609                "Do not overwrite next hop before advertising to eBGP peers";
9505              container inheritance-disable {9610              container inheritance-disable {
9506                presence "Indicates a inheritance-disable node is configured.";9611                presence "Indicates a inheritance-disable node is configured.";
9507                description9612                description
9508                  "Prevent next-hop-unchanged from being inherited from the parent";9613                  "Prevent next-hop-unchanged from being inherited from the parent";
9509              }9614              }
9510            }9615            }
9511            container next-hop-unchanged-multipath {9616            container next-hop-unchanged-multipath {
9512              presence "Indicates a next-hop-unchanged-multipath node is configured.";9617              presence "Indicates a next-hop-unchanged-multipath node is configured.";
9513              description9618              description
9514                "Do not overwrite nexthop before advertising multipaths";9619                "Do not overwrite nexthop before advertising multipaths";
9515            }9620            }
9516            container slow-peer {9621            container slow-peer {
9517              description9622              description
9518                "Configure this neighbor as slow-peer";9623                "Configure this neighbor as slow-peer";
9519              container static {9624              container static {
9520                must "not(../dynamic)";9625                must "not(../dynamic)";
9521                presence "Indicates a static node is configured.";9626                presence "Indicates a static node is configured.";
9522                description9627                description
9523                  "Configure this neighbor as static slow-peer";9628                  "Configure this neighbor as static slow-peer";
9524              }9629              }
9525              container dynamic {9630              container dynamic {
9526                must "not(../static)";9631                must "not(../static)";
9527                presence "Indicates a dynamic node is configured.";9632                presence "Indicates a dynamic node is configured.";
9528                description9633                description
9529                  "Configure this neighbor as dynamic slow-peer";9634                  "Configure this neighbor as dynamic slow-peer";
9530                leaf threshold {9635                leaf threshold {
9531                  type uint16 {9636                  type uint16 {
9532                    range "120..3600" {9637                    range "120..3600" {
9533                      description9638                      description
9534                        "Threshold (in seconds) to detect this neighbor as slow-peer";9639                        "Threshold (in seconds) to detect this neighbor as slow-peer";
9535                    }9640                    }
9536                  }9641                  }
9537                  description9642                  description
9538                    "Threshold (in seconds) to detect this neighbor as slow-peer";9643                    "Threshold (in seconds) to detect this neighbor as slow-peer";
9539                }9644                }
9540                container disable {9645                container disable {
9541                  presence "Indicates a disable node is configured.";9646                  presence "Indicates a disable node is configured.";
9542                  description9647                  description
9543                    "Disable dynamic slow-peer";9648                    "Disable dynamic slow-peer";
9544                }9649                }
9545              }9650              }
9546            }9651            }
9547            container origin-as {9652            container origin-as {
9548              description9653              description
9549                "BGP origin-AS knobs";9654                "BGP origin-AS knobs";
9550              container validation {9655              container validation {
9551                description9656                description
9552                  "BGP origin-AS validation knobs";9657                  "BGP origin-AS validation knobs";
9553                container disable {9658                container disable {
9554                  presence "Indicates a disable node is configured.";9659                  presence "Indicates a disable node is configured.";
9555                  description9660                  description
9556                    "Disable RPKI origin-AS validation";9661                    "Disable RPKI origin-AS validation";
9557                }9662                }
9558              }9663              }
9559            }9664            }
9560            container bestpath {9665            container bestpath {
9561              description9666              description
9562                "Change default route selection criteria";9667                "Change default route selection criteria";
9563              container origin-as {9668              container origin-as {
9564                description9669                description
9565                  "BGP origin-AS knobs";9670                  "BGP origin-AS knobs";
9566                container allow {9671                container allow {
9567                  description9672                  description
9568                    "BGP origin-AS knobs";9673                    "BGP origin-AS knobs";
9569                  container invalid {9674                  container invalid {
9570                    presence "Indicates a invalid node is configured.";9675                    presence "Indicates a invalid node is configured.";
9571                    description9676                    description
9572                      "BGP bestpath selection will allow 'invalid' origin-AS";9677                      "BGP bestpath selection will allow 'invalid' origin-AS";
9573                  }9678                  }
9574                }9679                }
9575              }9680              }
9576            }9681            }
9577            container route-policy {9682            container route-policy {
9578              description9683              description
9579                "Apply route policy to neighbor";9684                "Apply route policy to neighbor";
9580              leaf in {9685              leaf in {
9581                type xr:Route-policy-name;9686                type xr:Route-policy-name;
9582                description9687                description
9583                  "Apply route policy to inbound routes";9688                  "Apply route policy to inbound routes";
9584              }9689              }
9585              leaf out {9690              leaf out {
9586                type xr:Route-policy-name;9691                type xr:Route-policy-name;
9587                description9692                description
9588                  "Apply route policy to outbound routes";9693                  "Apply route policy to outbound routes";
9589              }9694              }
9590              container retention {9695              container retention {
9591                description9696                description
9592                  "Apply retention policy to inbound routes";9697                  "Apply retention policy to inbound routes";
9593                leaf route-policy-name {9698                leaf route-policy-name {
9594                  type xr:Route-policy-name;9699                  type xr:Route-policy-name;
9595                  must "../retention-time";9700                  must "../retention-time";
9596                  description9701                  description
9597                    "Apply retention policy to inbound routes";9702                    "Apply retention policy to inbound routes";
9598                }9703                }
9599                leaf retention-time {9704                leaf retention-time {
9600                  type uint32 {9705                  type uint32 {
9601                    range "0..4294967295" {9706                    range "0..4294967295" {
9602                      description9707                      description
9603                        "Max time (seconds)";9708                        "Max time (seconds)";
9604                    }9709                    }
9605                  }9710                  }
9606                  must "../route-policy-name";9711                  must "../route-policy-name";
9607                  description9712                  description
9608                    "Retention-time for this neighbor";9713                    "Retention-time for this neighbor";
9609                }9714                }
9610              }9715              }
9611            }9716            }
9612            container orf {9717            container orf {
9613              description9718              description
9614                "Specify ORF and inbound filtering criteria";9719                "Specify ORF and inbound filtering criteria";
9615              leaf route-policy {9720              leaf route-policy {
9616                type xr:Route-policy-name;9721                type xr:Route-policy-name;
9617                description9722                description
9618                  "Route policy to specify ORF and inbound filter";9723                  "Route policy to specify ORF and inbound filter";
9619              }9724              }
9620            }9725            }
9621            container replace-private-as {9726            container replace-private-as {
9622              presence "Indicates a replace-private-as node is configured.";9727              presence "Indicates a replace-private-as node is configured.";
9623              description9728              description
9624                "Replace private AS number from outbound updates";9729                "Replace private AS number from outbound updates";
9625              container internal {9730              container internal {
9626                description9731                description
9627                  "remove only if all ASes in the path are private";9732                  "remove only if all ASes in the path are private";
9628              }9733              }
9629            }9734            }
9630            container remove-private-as {9735            container remove-private-as {
9631              presence "Indicates a remove-private-as node is configured.";9736              presence "Indicates a remove-private-as node is configured.";
9632              description9737              description
9633                "Remove private AS number from outbound updates";9738                "Remove private AS number from outbound updates";
9634              container entire-aspath {9739              container entire-aspath {
9635                must "not(../inheritance-disable or ../internal)";9740                must "not(../inheritance-disable or ../internal)";
9636                presence "Indicates a entire-aspath node is configured.";9741                presence "Indicates a entire-aspath node is configured.";
9637                description9742                description
9638                  "remove only if all ASes in the path are private";9743                  "remove only if all ASes in the path are private";
9639              }9744              }
9640              container inheritance-disable {9745              container inheritance-disable {
9641                must "not(../entire-aspath or ../internal)";9746                must "not(../entire-aspath or ../internal)";
9642                presence "Indicates a inheritance-disable node is configured.";9747                presence "Indicates a inheritance-disable node is configured.";
9643                description9748                description
9644                  "Prevent remove-private-AS from being inherited from the parent";9749                  "Prevent remove-private-AS from being inherited from the parent";
9645              }9750              }
9646              container internal {9751              container internal {
9647                must "not(../entire-aspath or ../inheritance-disable)";9752                must "not(../entire-aspath or ../inheritance-disable)";
9648                presence "Indicates a inheritance-disable node is configured.";9753                presence "Indicates a inheritance-disable node is configured.";
9649                description9754                description
9650                  "remove only if all ASes in the path are private";9755                  "remove only if all ASes in the path are private";
9651                container inheritance-disable {9756                container inheritance-disable {
9652                  presence "Indicates a inheritance-disable node is configured.";9757                  presence "Indicates a inheritance-disable node is configured.";
9653                  description9758                  description
9654                    "Prevent remove-private-AS from being inherited from the parent";9759                    "Prevent remove-private-AS from being inherited from the parent";
9655                }9760                }
9656              }9761              }
9657            }9762            }
9658            container remove-private-as-inbound {9763            container remove-private-as-inbound {
9659              must "not(entire-aspath and inheritance-disable)";9764              must "not(entire-aspath and inheritance-disable)";
9660              presence "Indicates a inbound node is configured.";9765              presence "Indicates a inbound node is configured.";
9661              description9766              description
9662                "Remove private AS number from inbound updates";9767                "Remove private AS number from inbound updates";
9663              container entire-aspath {9768              container entire-aspath {
9664                presence "Indicates a entire-aspath node is configured.";9769                presence "Indicates a entire-aspath node is configured.";
9665                description9770                description
9666                  "remove only if all ASes in the path are private";9771                  "remove only if all ASes in the path are private";
9667              }9772              }
9668              container inheritance-disable {9773              container inheritance-disable {
9669                presence "Indicates a inheritance-disable node is configured.";9774                presence "Indicates a inheritance-disable node is configured.";
9670                description9775                description
9671                  "Prevent remove-private-AS from being inherited from the parent";9776                  "Prevent remove-private-AS from being inherited from the parent";
9672              }9777              }
9673            }9778            }
9674            container enforce-multiple-labels {9779            container enforce-multiple-labels {
9675              presence "Indicates a enforce-multiple-labels node is configured.";9780              presence "Indicates a enforce-multiple-labels node is configured.";
9676              description9781              description
9677                "Enforce support for multiple labels (requires manual session flap)";9782                "Enforce support for multiple labels (requires manual session flap)";
9678              container inheritance-disable {9783              container inheritance-disable {
9679                presence "Indicates a inheritance-disable node is configured.";9784                presence "Indicates a inheritance-disable node is configured.";
9680                description9785                description
9681                  "Prevent enforce-multiple-labels from being inherited from the parent";9786                  "Prevent enforce-multiple-labels from being inherited from the parent";
9682              }9787              }
9683            }9788            }
9684            container route-reflector-client {9789            container route-reflector-client {
9685              presence "Indicates a route-reflector-client node is configured.";9790              presence "Indicates a route-reflector-client node is configured.";
9686              description9791              description
9687                "Configure a neighbor as Route Reflector client";9792                "Configure a neighbor as Route Reflector client";
9688              container inheritance-disable {9793              container inheritance-disable {
9689                presence "Indicates a inheritance-disable node is configured.";9794                presence "Indicates a inheritance-disable node is configured.";
9690                description9795                description
9691                  "Prevent route-reflector-client from being inherited from the parent";9796                  "Prevent route-reflector-client from being inherited from the parent";
9692              }9797              }
9693            }9798            }
9694            container accept-route-legacy-rt {9799            container accept-route-legacy-rt {
9695              presence "Indicates a accept-route-legacy-rt node is configured.";9800              presence "Indicates a accept-route-legacy-rt node is configured.";
9696              description9801              description
9697                "Configure a neighbor to support legacy PE for RT-Constraint AF";9802                "Configure a neighbor to support legacy PE for RT-Constraint AF";
9698              container inheritance-disable {9803              container inheritance-disable {
9699                presence "Indicates a inheritance-disable node is configured.";9804                presence "Indicates a inheritance-disable node is configured.";
9700                description9805                description
9701                  "Prevent  accept-route-legacy-RT from being inherited from the parent";9806                  "Prevent  accept-route-legacy-RT from being inherited from the parent";
9702              }9807              }
9703            }9808            }
9704            container send-community-ebgp {9809            container send-community-ebgp {
9705              presence "Indicates a send-community-ebgp node is configured.";9810              presence "Indicates a send-community-ebgp node is configured.";
9706              description9811              description
9707                "Send community attribute to this external neighbor";9812                "Send community attribute to this external neighbor";
9708              container inheritance-disable {9813              container inheritance-disable {
9709                presence "Indicates a inheritance-disable node is configured.";9814                presence "Indicates a inheritance-disable node is configured.";
9710                description9815                description
9711                  "Prevent send-community-ebgp from being inherited from the parent";9816                  "Prevent send-community-ebgp from being inherited from the parent";
9712              }9817              }
9713            }9818            }
9714            container send-community-gshut-ebgp {9819            container send-community-gshut-ebgp {
9715              presence "Indicates a send-community-gshut-ebgp node is configured.";9820              presence "Indicates a send-community-gshut-ebgp node is configured.";
9716              description9821              description
9717                "Allow the g-shut community to be sent to this external neighbor";9822                "Allow the g-shut community to be sent to this external neighbor";
9718              container inheritance-disable {9823              container inheritance-disable {
9719                presence "Indicates a inheritance-disable node is configured.";9824                presence "Indicates a inheritance-disable node is configured.";
9720                description9825                description
9721                  "Prevent send-community-gshut-ebgp from being inherited from the parent";9826                  "Prevent send-community-gshut-ebgp from being inherited from the parent";
9722              }9827              }
9723            }9828            }
9724            container send-extended-community-ebgp {9829            container send-extended-community-ebgp {
9725              presence "Indicates a send-extended-community-ebgp node is configured.";9830              presence "Indicates a send-extended-community-ebgp node is configured.";
9726              description9831              description
9727                "Send extended community attribute to this external neighbor";9832                "Send extended community attribute to this external neighbor";
9728              container inheritance-disable {9833              container inheritance-disable {
9729                presence "Indicates a inheritance-disable node is configured.";9834                presence "Indicates a inheritance-disable node is configured.";
9730                description9835                description
9731                  "Prevent send-extended-community-ebgp from being inherited from parent";9836                  "Prevent send-extended-community-ebgp from being inherited from parent";
9732              }9837              }
9733            }9838            }
9734            container soft-reconfiguration {9839            container soft-reconfiguration {
9735              description9840              description
9736                "Per neighbor soft reconfiguration";9841                "Per neighbor soft reconfiguration";
9737              container inbound {9842              container inbound {
9738                presence "Indicates a inbound node is configured.";9843                presence "Indicates a inbound node is configured.";
9739                description9844                description
9740                  "Allow inbound soft reconfiguration for this neighbor";9845                  "Allow inbound soft reconfiguration for this neighbor";
9741                container rpki-dropped-only {9846                container rpki-dropped-only {
9742                  must "not(../rpki-tested-only or ../always or ../inheritance-disable)";9847                  must "not(../rpki-tested-only or ../always or ../inheritance-disable)";
9743                  presence "Indicates a rpki-dropped-only node is configured.";9848                  presence "Indicates a rpki-dropped-only node is configured.";
9744                  description9849                  description
9745                    "Use soft-reconfig, for paths dropped by route-policy which have RPKI validity state check";9850                    "Use soft-reconfig, for paths dropped by route-policy which have RPKI validity state check";
9746                }9851                }
9747                container rpki-tested-only {9852                container rpki-tested-only {
9748                  must "not(../rpki-dropped-only or ../always or ../inheritance-disable)";9853                  must "not(../rpki-dropped-only or ../always or ../inheritance-disable)";
9749                  presence "Indicates a rpki-tested-only node is configured.";9854                  presence "Indicates a rpki-tested-only node is configured.";
9750                  description9855                  description
9751                    "Use soft-reconfig for paths tested or dropped by route-policy which have RPKI validity state check";9856                    "Use soft-reconfig for paths tested or dropped by route-policy which have RPKI validity state check";
9752                }9857                }
9753                container always {9858                container always {
9754                  must "not(../rpki-dropped-only or ../rpki-tested-only or ../inheritance-disable)";9859                  must "not(../rpki-dropped-only or ../rpki-tested-only or ../inheritance-disable)";
9755                  presence "Indicates a always node is configured.";9860                  presence "Indicates a always node is configured.";
9756                  description9861                  description
9757                    "Always use soft reconfig, even if route refresh is supported";9862                    "Always use soft reconfig, even if route refresh is supported";
9758                }9863                }
9759                container inheritance-disable {9864                container inheritance-disable {
9760                  must "not(../rpki-dropped-only or ../rpki-tested-only or ../always)";9865                  must "not(../rpki-dropped-only or ../rpki-tested-only or ../always)";
9761                  presence "Indicates a inheritance-disable node is configured.";9866                  presence "Indicates a inheritance-disable node is configured.";
9762                  description9867                  description
9763                    "Prevent soft-reconfiguration from being inherited from the parent";9868                    "Prevent soft-reconfiguration from being inherited from the parent";
9764                }9869                }
9765              }9870              }
9766            }9871            }
9767            container update {9872            container update {
9768              description9873              description
9769                "BGP out bound message";9874                "BGP out bound message";
9770              container out {9875              container out {
9771                description9876                description
9772                  "BGP out bound message handling";9877                  "BGP out bound message handling";
9773                container originator-loopcheck {9878                container originator-loopcheck {
9774                  presence "Indicates a originator-loopcheck node is configured.";9879                  presence "Indicates a originator-loopcheck node is configured.";
9775                  description9880                  description
9776                    "Loop check for same originator which sent the route";9881                    "Loop check for same originator which sent the route";
9777                  container disable {9882                  container disable {
9778                    presence "Indicates a disable node is configured.";9883                    presence "Indicates a disable node is configured.";
9779                    description9884                    description
9780                      "Disable originator loop check";9885                      "Disable originator loop check";
9781                  }9886                  }
9782                }9887                }
9783              }9888              }
9784            }9889            }
9785            container advertise {9890            container advertise {
9786              description9891              description
9787                "Per neighbor advertisement options";9892                "Per neighbor advertisement options";
9788              container permanent-network {9893              container permanent-network {
9789                when9894                when
9790                  "../../af-name != 'vpnv4-unicast' and9895                  "../../af-name != 'vpnv4-unicast' and
9791                   ../../af-name != 'vpnv4-multicast' and9896                   ../../af-name != 'vpnv4-multicast' and
9792                   ../../af-name != 'vpnv4-flowspec' and9897                   ../../af-name != 'vpnv4-flowspec' and
9793                   ../../af-name != 'vpnv6-flowspec' and9898                   ../../af-name != 'vpnv6-flowspec' and
9794                   ../../af-name != 'vpnv6-multicast' and9899                   ../../af-name != 'vpnv6-multicast' and
9795                   ../../af-name != 'vpnv6-unicast' and9900                   ../../af-name != 'vpnv6-unicast' and
9796                   ../../af-name != 'l2vpn-evpn' and9901                   ../../af-name != 'l2vpn-evpn' and
9797                   ../../af-name != 'l2vpn-mspw' and9902                   ../../af-name != 'l2vpn-mspw' and
9798                   ../../af-name != 'l2vpn-vpls-vpws'";9903                   ../../af-name != 'l2vpn-vpls-vpws'";
9799                presence "Indicates a permanent-network node is configured.";9904                presence "Indicates a permanent-network node is configured.";
9800                description9905                description
9801                  "Allow permanent networks for this neighbor";9906                  "Allow permanent networks for this neighbor";
9802              }9907              }
9803              container local-labeled-route {9908              container local-labeled-route {
9804                when9909                when
9805                  "../../af-name != 'vpnv4-unicast' and9910                  "../../af-name != 'vpnv4-unicast' and
9806                   ../../af-name != 'vpnv4-multicast' and9911                   ../../af-name != 'vpnv4-multicast' and
9807                   ../../af-name != 'vpnv4-flowspec' and9912                   ../../af-name != 'vpnv4-flowspec' and
9808                   ../../af-name != 'vpnv6-flowspec' and9913                   ../../af-name != 'vpnv6-flowspec' and
9809                   ../../af-name != 'vpnv6-multicast' and9914                   ../../af-name != 'vpnv6-multicast' and
9810                   ../../af-name != 'vpnv6-unicast' and9915                   ../../af-name != 'vpnv6-unicast' and
9811                   ../../af-name != 'l2vpn-evpn' and9916                   ../../af-name != 'l2vpn-evpn' and
9812                   ../../af-name != 'l2vpn-mspw' and9917                   ../../af-name != 'l2vpn-mspw' and
9813                   ../../af-name != 'l2vpn-vpls-vpws'";9918                   ../../af-name != 'l2vpn-vpls-vpws'";
9814                presence "Indicates a local-labeled-route node is configured.";9919                presence "Indicates a local-labeled-route node is configured.";
9815                description9920                description
9816                  "Advertisement of routes with local-label";9921                  "Advertisement of routes with local-label";
9817                container disable {9922                container disable {
9818                  presence "Indicates a disable node is configured.";9923                  presence "Indicates a disable node is configured.";
9819                  description9924                  description
9820                    "Do not advertise routes with local-label via Unicast SAFI";9925                    "Do not advertise routes with local-label via Unicast SAFI";
9821                }9926                }
9822              }9927              }
9823              container vpnv4 {9928              container vpnv4 {
9824                when9929                when
9825                  "../../af-name = 'vpnv4-unicast' or9930                  "../../af-name = 'vpnv4-unicast' or
9826                   ../../af-name = 'vpnv6-unicast' or9931                   ../../af-name = 'vpnv6-unicast' or
9827                   ../../af-name = 'l2vpn-evpn'";9932                   ../../af-name = 'l2vpn-evpn'";
9828                description9933                description
9829                  "VPNv4 Address Family";9934                  "VPNv4 Address Family";
9830                container unicast {9935                container unicast {
9831                  description9936                  description
9832                    "Address Family modifier";9937                    "Address Family modifier";
9833                  container enable {9938                  container enable {
9834                    presence "Indicates an enable node is configured.";9939                    presence "Indicates an enable node is configured.";
9835                    description9940                    description
9836                      "Enable advertise vpn4 unicast";9941                      "Enable advertise vpn4 unicast";
9837                    container re-originated {9942                    container re-originated {
9838                      presence "Indicates a re-originated node is configured.";9943                      presence "Indicates a re-originated node is configured.";
9839                      description9944                      description
9840                        "Advertise re-orignated and local routes only";9945                        "Advertise re-orignated and local routes only";
9841                      container stitching-rt {9946                      container stitching-rt {
9842                        presence "Indicates a stitching-rt node is configured.";9947                        presence "Indicates a stitching-rt node is configured.";
9843                        description9948                        description
9844                          "Advertise re-originated and local routes with stitching Route-Targets";9949                          "Advertise re-originated and local routes with stitching Route-Targets";
9845                      }9950                      }
9846                    }9951                    }
9847                  }9952                  }
9848                  container imported-from-default-vrf {9953                  container imported-from-default-vrf {
9849                    description9954                    description
9850                      "Default VRF imported routes";9955                      "Default VRF imported routes";
9851                    container disable {9956                    container disable {
9852                      presence "Indicates a disable node is configured.";9957                      presence "Indicates a disable node is configured.";
9853                      description9958                      description
9854                        "Disable advertisement of default VRF imported routes";9959                        "Disable advertisement of default VRF imported routes";
9855                    }9960                    }
9856                  }9961                  }
9857                  container imported-from-vrf {9962                  container imported-from-vrf {
9858                    description9963                    description
9859                      "VRF extranet imported routes";9964                      "VRF extranet imported routes";
9860                    container disable {9965                    container disable {
9861                      presence "Indicates a disable node is configured.";9966                      presence "Indicates a disable node is configured.";
9862                      description9967                      description
9863                        "Disable advertisement of VRF extranet imported routes";9968                        "Disable advertisement of VRF extranet imported routes";
9864                    }9969                    }
9865                  }9970                  }
9866                  container imported-from-bridgedomain {9971                  container imported-from-bridgedomain {
9867                    description9972                    description
9868                      "VRF EVPN extranet imported routes ";9973                      "VRF EVPN extranet imported routes ";
9869                    container disable {9974                    container disable {
9870                      presence "Indicates a disable node is configured.";9975                      presence "Indicates a disable node is configured.";
9871                      description9976                      description
9872                        "Disable advertisement of VRF EVPN extranet imported routes";9977                        "Disable advertisement of VRF EVPN extranet imported routes";
9873                    }9978                    }
9874                  }9979                  }
9875                }9980                }
9876              }9981              }
9877              container vpnv6 {9982              container vpnv6 {
9878                when9983                when
9879                  "../../af-name = 'vpnv4-unicast' or9984                  "../../af-name = 'vpnv4-unicast' or
9880                   ../../af-name = 'vpnv6-unicast' or9985                   ../../af-name = 'vpnv6-unicast' or
9881                   ../../af-name = 'l2vpn-evpn'";9986                   ../../af-name = 'l2vpn-evpn'";
9882                description9987                description
9883                  "VPNv6 Address Family";9988                  "VPNv6 Address Family";
9884                container unicast {9989                container unicast {
9885                  description9990                  description
9886                    "Address Family modifier";9991                    "Address Family modifier";
9887                  container enable {9992                  container enable {
9888                    presence "Indicates an enable node is configured.";9993                    presence "Indicates an enable node is configured.";
9889                    description9994                    description
9890                      "Enable advertise vpnv6 unicast";9995                      "Enable advertise vpnv6 unicast";
9891                    container re-originated {9996                    container re-originated {
9892                      presence "Indicates a re-originated node is configured.";9997                      presence "Indicates a re-originated node is configured.";
9893                      description9998                      description
9894                        "Advertise Re-orignated routes only";9999                        "Advertise Re-orignated routes only";
9895                      container stitching-rt {10000                      container stitching-rt {
9896                        presence "Indicates a stitching-rt node is configured.";10001                        presence "Indicates a stitching-rt node is configured.";
9897                        description10002                        description
9898                          "Advertise re-originated routes with stitching Route-Targets";10003                          "Advertise re-originated routes with stitching Route-Targets";
9899                      }10004                      }
9900                    }10005                    }
9901                  }10006                  }
9902                  container imported-from-default-vrf {10007                  container imported-from-default-vrf {
9903                    description10008                    description
9904                      "Default VRF imported routes";10009                      "Default VRF imported routes";
9905                    container disable {10010                    container disable {
9906                      presence "Indicates a disable node is configured.";10011                      presence "Indicates a disable node is configured.";
9907                      description10012                      description
9908                        "Disable advertisement of default VRF imported routes";10013                        "Disable advertisement of default VRF imported routes";
9909                    }10014                    }
9910                  }10015                  }
9911                  container imported-from-vrf {10016                  container imported-from-vrf {
9912                    description10017                    description
9913                      "VRF extranet imported routes";10018                      "VRF extranet imported routes";
9914                    container disable {10019                    container disable {
9915                      presence "Indicates a disable node is configured.";10020                      presence "Indicates a disable node is configured.";
9916                      description10021                      description
9917                        "Disable advertisement of VRF extranet imported routes";10022                        "Disable advertisement of VRF extranet imported routes";
9918                    }10023                    }
9919                  }10024                  }
9920                  container imported-from-bridgedomain {10025                  container imported-from-bridgedomain {
9921                    description10026                    description
9922                      "VRF EVPN extranet imported routes";10027                      "VRF EVPN extranet imported routes";
9923                    container disable {10028                    container disable {
9924                      presence "Indicates a disable node is configured.";10029                      presence "Indicates a disable node is configured.";
9925                      description10030                      description
9926                        "Disable advertisement of VRF EVPN extranet imported routes";10031                        "Disable advertisement of VRF EVPN extranet imported routes";
9927                    }10032                    }
9928                  }10033                  }
9929                }10034                }
9930              }10035              }
9931              container l2vpn {10036              container l2vpn {
9932                when10037                when
9933                  "../../af-name = 'vpnv4-unicast' or10038                  "../../af-name = 'vpnv4-unicast' or
9934                   ../../af-name = 'vpnv6-unicast' or10039                   ../../af-name = 'vpnv6-unicast' or
9935                   ../../af-name = 'l2vpn-evpn'";10040                   ../../af-name = 'l2vpn-evpn'";
9936                description10041                description
9937                  "L2VPN Address Family";10042                  "L2VPN Address Family";
9938                container evpn {10043                container evpn {
9939                  when "../../../af-name = 'l2vpn-evpn'";10044                  when "../../../af-name = 'l2vpn-evpn'";
9940                  presence "Indicates a evpn node is configured.";10045                  presence "Indicates a evpn node is configured.";
9941                  description10046                  description
9942                    "Address Family modifier";10047                    "Address Family modifier";
9943                  container re-originated {10048                  container re-originated {
9944                    presence "Indicates a re-originated node is configured.";10049                    presence "Indicates a re-originated node is configured.";
9945                    description10050                    description
9946                      "Advertise Re-orignated routes only";10051                      "Advertise Re-orignated routes only";
9947                    container stitching-rt {10052                    container stitching-rt {
9948                      presence "Indicates a stitching-rt node is configured.";10053                      presence "Indicates a stitching-rt node is configured.";
9949                      description10054                      description
9950                        "Advertise re-originated routes with stitching Route-Targets";10055                        "Advertise re-originated routes with stitching Route-Targets";
9951                    }10056                    }
9952                  }10057                  }
9953                }10058                }
9954                container evpn-disable {10059                container evpn-disable {
9955                  presence "Indicates a disable node is configured.";10060                  presence "Indicates a disable node is configured.";
9956                  description10061                  description
9957                    "Disable Advertisement of selected SAFI";10062                    "Disable Advertisement of selected SAFI";
9958                }10063                }
9959                container vpls-vpws {10064                container vpls-vpws {
9960                  description10065                  description
9961                    "Address Family modifier";10066                    "Address Family modifier";
9962                  container disable {10067                  container disable {
9963                    presence "Indicates a disable node is configured.";10068                    presence "Indicates a disable node is configured.";
9964                    description10069                    description
9965                      "Disable Advertisement of selected SAFI";10070                      "Disable Advertisement of selected SAFI";
9966                  }10071                  }
9967                }10072                }
9968                container mspw {10073                container mspw {
9969                  description10074                  description
9970                    "Address Family modifier";10075                    "Address Family modifier";
9971                  container disable {10076                  container disable {
9972                    presence "Indicates a disable node is configured.";10077                    presence "Indicates a disable node is configured.";
9973                    description10078                    description
9974                      "Disable Advertisement of selected SAFI";10079                      "Disable Advertisement of selected SAFI";
9975                  }10080                  }
9976                }10081                }
9977                container gateway-ip-disable {10082                container gateway-ip-disable {
9978                  when "../../../af-name = 'l2vpn-evpn'";10083                  when "../../../af-name = 'l2vpn-evpn'";
9979                  presence "Indicates a gateway-ip-disable node is configured.";10084                  presence "Indicates a gateway-ip-disable node is configured.";
9980                  description10085                  description
9981                    "Disable advertisement of non-zero EVPN Gateway-IP";10086                    "Disable advertisement of non-zero EVPN Gateway-IP";
9982                  container inheritance-disable {10087                  container inheritance-disable {
9983                    presence "Indicates a inheritance-disable node is configured.";10088                    presence "Indicates a inheritance-disable node is configured.";
9984                    description10089                    description
9985                      "Prevent EVPN Gateway-IP disable being inherited from a parent group";10090                      "Prevent EVPN Gateway-IP disable being inherited from a parent group";
9986                  }10091                  }
9987                }10092                }
9988              }10093              }
9989            }10094            }
9990            container encapsulation-type {10095            container encapsulation-type {
9991              when10096              when
9992                "../af-name = 'ipv4-unicast' or10097                "../af-name = 'ipv4-unicast' or
9993                 ../af-name = 'ipv6-unicast' or10098                 ../af-name = 'ipv6-unicast' or
9994                 ../af-name = 'vpnv4-unicast' or10099                 ../af-name = 'vpnv4-unicast' or
9995                 ../af-name = 'vpnv6-unicast' or10100                 ../af-name = 'vpnv6-unicast' or
9996                 ../af-name = 'l2vpn-evpn'";10101                 ../af-name = 'l2vpn-evpn'";
9997              description10102              description
9998                "Specify encapsulation type";10103                "Specify encapsulation type";
9999              container vxlan {10104              container vxlan {
10000                when10105                when
10001                  "../../af-name = 'vpnv4-unicast' or10106                  "../../af-name = 'vpnv4-unicast' or
10002                   ../../af-name = 'vpnv6-unicast' or10107                   ../../af-name = 'vpnv6-unicast' or
10003                   ../../af-name = 'l2vpn-evpn'";10108                   ../../af-name = 'l2vpn-evpn'";
10004                must "not(../srv6)";10109                must "not(../srv6)";
10005                presence "Indicates a vxlan node is configured.";10110                presence "Indicates a vxlan node is configured.";
10006                description10111                description
10007                  "VxLAN encapsulation";10112                  "VxLAN encapsulation";
10008              }10113              }
10009              container srv6 {10114              container srv6 {
10010                when "../../af-name != 'l2vpn-evpn'";10115                when "../../af-name != 'l2vpn-evpn'";
10011                must "not(../vxlan)";10116                must "not(../vxlan)";
10012                presence "Indicates a srv6 node is configured.";10117                presence "Indicates a srv6 node is configured.";
10013                description10118                description
10014                  "SRv6 encapsulation";10119                  "SRv6 encapsulation";
10015              }10120              }
10016            }10121            }
10017            container segment-routing {10122            container segment-routing {
10018              when "../af-name = 'vpnv4-unicast'";10123              when "../af-name = 'vpnv4-unicast'";
10019              description10124              description
10020                "enable segment-routing srv6 version 4";10125                "enable segment-routing srv6 version 4";
10021              container srv6 {10126              container srv6 {
10022                description10127                description
10023                  "srv6 version 4";10128                  "srv6 version 4";
10024                container prefix-sid-type4 {10129                container prefix-sid-type4 {
10025                  presence "Indicates a prefix-sid-type4 node is configured.";10130                  presence "Indicates a prefix-sid-type4 node is configured.";
10026                  description10131                  description
10027                    "Enable prefix sid version 4 encoding";10132                    "Enable prefix sid version 4 encoding";
10028                }10133                }
10029              }10134              }
10030            }10135            }
10031            container import {10136            container import {
10032              description10137              description
10033                "Import options for neighbor address-family routes";10138                "Import options for neighbor address-family routes";
10034              container stitching-rt {10139              container stitching-rt {
10035                presence "Indicates a stitching-rt node is configured.";10140                presence "Indicates a stitching-rt node is configured.";
10036                description10141                description
10037                  "Import routes using stitching RTs";10142                  "Import routes using stitching RTs";
10038                container re-originate {10143                container re-originate {
10039                  presence "Indicates a re-originate node is configured.";10144                  presence "Indicates a re-originate node is configured.";
10040                  description10145                  description
10041                    "Re-originate imported routes";10146                    "Re-originate imported routes";
10042                  container stitching-rt {10147                  container stitching-rt {
10043                    presence "Indicates a stitching-rt node is configured.";10148                    presence "Indicates a stitching-rt node is configured.";
10044                    description10149                    description
10045                      "Reoriginate imported routes by attaching stitching RTs";10150                      "Reoriginate imported routes by attaching stitching RTs";
10046                  }10151                  }
10047                }10152                }
10048              }10153              }
10049            }10154            }
10050            leaf weight {10155            leaf weight {
10051              type uint32 {10156              type uint32 {
10052                range "0..65535" {10157                range "0..65535" {
10053                  description10158                  description
10054                    "default weight";10159                    "default weight";
10055                }10160                }
10056              }10161              }
10057              description10162              description
10058                "Set default weight for routes from this neighbor";10163                "Set default weight for routes from this neighbor";
10059            }10164            }
10060            container allowas-in {10165            container allowas-in {
10061              presence "Indicates a allowas-in node is configured.";10166              presence "Indicates a allowas-in node is configured.";
10062              description10167              description
10063                "Allow as-path with my AS present in it";10168                "Allow as-path with my AS present in it";
10064              leaf number-of-occurences {10169              leaf number-of-occurences {
10065                type uint32 {10170                type uint32 {
10066                  range "1..10" {10171                  range "1..10" {
10067                    description10172                    description
10068                      "Number of occurences of AS number";10173                      "Number of occurences of AS number";
10069                  }10174                  }
10070                }10175                }
10071                description10176                description
10072                  "Number of occurences of AS number";10177                  "Number of occurences of AS number";
10073              }10178              }
10074            }10179            }
10075            container allowconfedas-in {10180            container allowconfedas-in {
10076              presence "Indicates a allowconfedas-in node is configured.";10181              presence "Indicates a allowconfedas-in node is configured.";
10077              description10182              description
10078                "Allow as-path with my confederation AS present in it";10183                "Allow as-path with my confederation AS present in it";
10079              leaf number-of-occurences {10184              leaf number-of-occurences {
10080                type uint32 {10185                type uint32 {
10081                  range "1..10" {10186                  range "1..10" {
10082                    description10187                    description
10083                      "Number of occurences of confederation AS number";10188                      "Number of occurences of confederation AS number";
10084                  }10189                  }
10085                }10190                }
10086                description10191                description
10087                  "Number of occurences of confederation AS number";10192                  "Number of occurences of confederation AS number";
10088              }10193              }
10089            }10194            }
10090            container long-lived-graceful-restart {10195            container long-lived-graceful-restart {
10091              description10196              description
10092                "Enable long lived graceful restart support";10197                "Enable long lived graceful restart support";
10093              container stale-time {10198              container stale-time {
10094                description10199                description
10095                  "Maximum time to wait before purging long-lived stale routes";10200                  "Maximum time to wait before purging long-lived stale routes";
10096                leaf send {10201                leaf send {
10097                  type uint32 {10202                  type uint32 {
10098                    range "0..16777215" {10203                    range "0..16777215" {
10099                      description10204                      description
10100                        "Max time (seconds)";10205                        "Max time (seconds)";
10101                    }10206                    }
10102                  }10207                  }
10103                  description10208                  description
10104                    "Stale-time sent in LLGR Capability";10209                    "Stale-time sent in LLGR Capability";
10105                }10210                }
10106                leaf accept {10211                leaf accept {
10107                  type uint32 {10212                  type uint32 {
10108                    range "0..16777215" {10213                    range "0..16777215" {
10109                      description10214                      description
10110                        "Max time (seconds)";10215                        "Max time (seconds)";
10111                    }10216                    }
10112                  }10217                  }
10113                  description10218                  description
10114                    "Maximum stale-time acceptable from neighbor";10219                    "Maximum stale-time acceptable from neighbor";
10115                }10220                }
10116              }10221              }
10117              container capable {10222              container capable {
10118                presence "Indicates a capable node is configured.";10223                presence "Indicates a capable node is configured.";
10119                description10224                description
10120                  "Treat neighbor as LLGR capable";10225                  "Treat neighbor as LLGR capable";
10121              }10226              }
10122            }10227            }
10123            container as-override {10228            container as-override {
10124              presence "Indicates a as-override node is configured.";10229              presence "Indicates a as-override node is configured.";
10125              description10230              description
10126                "Override matching AS-number while sending update";10231                "Override matching AS-number while sending update";
10127              container inheritance-disable {10232              container inheritance-disable {
10128                presence "Indicates a inheritance-disable node is configured.";10233                presence "Indicates a inheritance-disable node is configured.";
10129                description10234                description
10130                  "Prevent as-override from being inherited from the parent";10235                  "Prevent as-override from being inherited from the parent";
10131              }10236              }
10132            }10237            }
10133            container aigp {10238            container aigp {
10134              presence "Indicates a aigp node is configured.";10239              presence "Indicates a aigp node is configured.";
10135              description10240              description
10136                "Enable AIGP for this neighbor ";10241                "Enable AIGP for this neighbor ";
10137              container disable {10242              container disable {
10138                presence "Indicates a disable node is configured.";10243                presence "Indicates a disable node is configured.";
10139                description10244                description
10140                  "Disable AIGP";10245                  "Disable AIGP";
10141              }10246              }
10142            }10247            }
10143            container aigp-send {10248            container aigp-send {
10144              description10249              description
10145                "Copy AIGP";10250                "Copy AIGP";
10146              container cost-community {10251              container cost-community {
10147                must "(cost-community-id and poi) or disable";10252                must "(cost-community-id and poi) or disable";
10148                presence "Indicates a cost-community node is configured.";10253                presence "Indicates a cost-community node is configured.";
10149                description10254                description
10150                  "Send AIGP value in Cost Community";10255                  "Send AIGP value in Cost Community";
10151                leaf cost-community-id {10256                leaf cost-community-id {
10152                  type uint32 {10257                  type uint32 {
10153                    range "0..255" {10258                    range "0..255" {
10154                      description10259                      description
10155                        "Cost community ID";10260                        "Cost community ID";
10156                    }10261                    }
10157                  }10262                  }
10158                  must "not(../disable)";10263                  must "not(../disable)";
10159                  description10264                  description
10160                    "Cost community ID";10265                    "Cost community ID";
10161                }10266                }
10162                container poi {10267                container poi {
10163                  must "(igp-cost or pre-bestpath) and not(igp-cost and pre-bestpath)";10268                  must "(igp-cost or pre-bestpath) and not(igp-cost and pre-bestpath)";
10164                  presence "Indicates a poi node is configured.";10269                  presence "Indicates a poi node is configured.";
10165                  description10270                  description
10166                    "Point of insertion for bestpath calculation";10271                    "Point of insertion for bestpath calculation";
10167                  container igp-cost {10272                  container igp-cost {
10168                    presence "Indicates a igp-cost node is configured.";10273                    presence "Indicates a igp-cost node is configured.";
10169                    description10274                    description
10170                      "Cost community is used after IGP distance to next hop";10275                      "Cost community is used after IGP distance to next hop";
10171                    container transitive {10276                    container transitive {
10172                      presence "Indicates a transitive node is configured.";10277                      presence "Indicates a transitive node is configured.";
10173                      description10278                      description
10174                        "Enable transitive cost community";10279                        "Enable transitive cost community";
10175                    }10280                    }
10176                  }10281                  }
10177                  container pre-bestpath {10282                  container pre-bestpath {
10178                    presence "Indicates a pre-bestpath node is configured.";10283                    presence "Indicates a pre-bestpath node is configured.";
10179                    description10284                    description
10180                      "Cost community is first step in best path calculation";10285                      "Cost community is first step in best path calculation";
10181                    container transitive {10286                    container transitive {
10182                      presence "Indicates a transitive node is configured.";10287                      presence "Indicates a transitive node is configured.";
10183                      description10288                      description
10184                        "Enable transitive cost community";10289                        "Enable transitive cost community";
10185                    }10290                    }
10186                  }10291                  }
10187                }10292                }
10188                container disable {10293                container disable {
10189                  must "not(../cost-community-id)";10294                  must "not(../cost-community-id)";
10190                  presence "Indicates a disable node is configured.";10295                  presence "Indicates a disable node is configured.";
10191                  description10296                  description
10192                    "Disable aigp send cost-community";10297                    "Disable aigp send cost-community";
10193                }10298                }
10194              }10299              }
10195              container med {10300              container med {
10196                presence "Indicates a med node is configured.";10301                presence "Indicates a med node is configured.";
10197                description10302                description
10198                  "Send AIGP value in MED";10303                  "Send AIGP value in MED";
10199                container disable {10304                container disable {
10200                  presence "Indicates a disable node is configured.";10305                  presence "Indicates a disable node is configured.";
10201                  description10306                  description
10202                    "Disable aigp send med";10307                    "Disable aigp send med";
10203                }10308                }
10204              }10309              }
10205            }10310            }
10206            container validation {10311            container validation {
10207              when "../af-name = 'ipv4-flowspec' or ../af-name = 'ipv6-flowspec'";10312              when "../af-name = 'ipv4-flowspec' or ../af-name = 'ipv6-flowspec'";
10208              presence "Indicates a validation node is configured.";10313              presence "Indicates a validation node is configured.";
10209              description10314              description
10210                "Flowspec Validation for this neighbor ";10315                "Flowspec Validation for this neighbor ";
10211              container disable {10316              container disable {
10212                presence "Indicates a disable node is configured.";10317                presence "Indicates a disable node is configured.";
10213                description10318                description
10214                  "Disable Flowspec Validation";10319                  "Disable Flowspec Validation";
10215              }10320              }
10216              container redirect {10321              container redirect {
10217                description10322                description
10218                  "Flowspec Redirect nexthop Validation";10323                  "Flowspec Redirect nexthop Validation";
10219                container disable {10324                container disable {
10220                  presence "Indicates a disable node is configured.";10325                  presence "Indicates a disable node is configured.";
10221                  description10326                  description
10222                    "Disable Flowspec Redirect nexthop Validation";10327                    "Disable Flowspec Redirect nexthop Validation";
10223                }10328                }
10224              }10329              }
10225            }10330            }
10226            container send-multicast-attributes {10331            container send-multicast-attributes {
10227              when "../af-name = 'ipv4-unicast' or ../af-name = 'ipv6-unicast' or ../af-name = 'ipv4-labeled-unicast' or ../af-name = 'ipv6-labeled-unicast' or ../af-name = 'ipv4-multicast' or ../af-name = 'ipv6-multicast' or ../af-name = 'ipv4-mvpn' or ../af-name = 'ipv6-mvpn'";10332              when "../af-name = 'ipv4-unicast' or ../af-name = 'ipv6-unicast' or ../af-name = 'ipv4-labeled-unicast' or ../af-name = 'ipv6-labeled-unicast' or ../af-name = 'ipv4-multicast' or ../af-name = 'ipv6-multicast' or ../af-name = 'ipv4-mvpn' or ../af-name = 'ipv6-mvpn'";
10228              presence "Indicates a send-multicast-attributes node is configured.";10333              presence "Indicates a send-multicast-attributes node is configured.";
10229              description10334              description
10230                "Send multicast attributes to this neighbor ";10335                "Send multicast attributes to this neighbor ";
10231              container disable {10336              container disable {
10232                presence "Indicates a disable node is configured.";10337                presence "Indicates a disable node is configured.";
10233                description10338                description
10234                  "Disable send multicast attribute";10339                  "Disable send multicast attribute";
10235              }10340              }
10236            }10341            }
10237            container signalling {10342            container signalling {
10238              description10343              description
10239                "Signalling protocols to disable, BGP or LDP";10344                "Signalling protocols to disable, BGP or LDP";
10240              container bgp {10345              container bgp {
10241                description10346                description
10242                  "Select BGP to disable";10347                  "Select BGP to disable";
10243                container disable {10348                container disable {
10244                  presence "Indicates a disable node is configured.";10349                  presence "Indicates a disable node is configured.";
10245                  description10350                  description
10246                    "Disable Signalling type";10351                    "Disable Signalling type";
10247                }10352                }
10248              }10353              }
10249              container ldp {10354              container ldp {
10250                description10355                description
10251                  "Select LDP to disable";10356                  "Select LDP to disable";
10252                container disable {10357                container disable {
10253                  presence "Indicates a disable node is configured.";10358                  presence "Indicates a disable node is configured.";
10254                  description10359                  description
10255                    "Disable Signalling type";10360                    "Disable Signalling type";
10256                }10361                }
10257              }10362              }
10258            }10363            }
10259            container accept-own {10364            container accept-own {
10260              presence "Indicates a accept-own node is configured.";10365              presence "Indicates a accept-own node is configured.";
10261              description10366              description
10262                "Handle self-originated routes with Accept-Own community";10367                "Handle self-originated routes with Accept-Own community";
10263              container inheritance-disable {10368              container inheritance-disable {
10264                presence "Indicates a inheritance-disable node is configured.";10369                presence "Indicates a inheritance-disable node is configured.";
10265                description10370                description
10266                  "Prevent item being inherited from a parent group";10371                  "Prevent item being inherited from a parent group";
10267              }10372              }
10268            }10373            }
10269            container cluster-id {10374            container cluster-id {
10270              description10375              description
10271                "Allow routes with first cluster-id in list is same as the router's cluster id";10376                "Allow routes with first cluster-id in list is same as the router's cluster id";
10272              container allow-equal {10377              container allow-equal {
10273                presence "Indicates a allow-equal node is configured.";10378                presence "Indicates a allow-equal node is configured.";
10274                description10379                description
10275                  "Accept routes with first cluster-id in list is same as the router's cluster id";10380                  "Accept routes with first cluster-id in list is same as the router's cluster id";
10276                container disable {10381                container disable {
10277                  presence "Indicates a allow-equal node is configured.";10382                  presence "Indicates a allow-equal node is configured.";
10278                  description10383                  description
10279                    "Prevent the configuration from being inherited.";10384                    "Prevent the configuration from being inherited.";
10280                }10385                }
10281              }10386              }
10282            }10387            }
10283            container site-of-origin {10388            container site-of-origin {
10284              description10389              description
10285                "Site-of-Origin extended community associated with the neighbor";10390                "Site-of-Origin extended community associated with the neighbor";
10286              container two-byte-as {10391              container two-byte-as {
10287                must "not(../four-byte-as or ../ip-address)";10392                must "not(../four-byte-as or ../ip-address)";
10288                presence "Indicates a two-byte-as node is configured.";10393                presence "Indicates a two-byte-as node is configured.";
10289                description10394                description
10290                  "two-byte-as Site-of-Origin";10395                  "two-byte-as Site-of-Origin";
10291                leaf as-number {10396                leaf as-number {
10292                  type xr:Bgp-as-number;10397                  type xr:Bgp-as-number;
10293                  mandatory true;10398                  mandatory true;
10294                  description10399                  description
10295                    "bgp as-number";10400                    "bgp as-number";
10296                }10401                }
10297                leaf index {10402                leaf index {
10298                  type uint32 {10403                  type uint32 {
10299                    range "0..4294967295" {10404                    range "0..4294967295" {
10300                      description10405                      description
10301                        "ASN2:index (hex or decimal format)";10406                        "ASN2:index (hex or decimal format)";
10302                    }10407                    }
10303                  }10408                  }
10304                  mandatory true;10409                  mandatory true;
10305                  description10410                  description
10306                    "ASN2:index (hex or decimal format)";10411                    "ASN2:index (hex or decimal format)";
10307                }10412                }
10308              }10413              }
10309              container four-byte-as {10414              container four-byte-as {
10310                must "not(../two-byte-as or ../ip-address)";10415                must "not(../two-byte-as or ../ip-address)";
10311                presence "Indicates a four-byte-as node is configured.";10416                presence "Indicates a four-byte-as node is configured.";
10312                description10417                description
10313                  "four-byte-as Site-of-Origin";10418                  "four-byte-as Site-of-Origin";
10314                leaf as-number {10419                leaf as-number {
10315                  type xr:Bgp-as-number;10420                  type xr:Bgp-as-number;
10316                  mandatory true;10421                  mandatory true;
10317                  description10422                  description
10318                    "4-byte AS number";10423                    "4-byte AS number";
10319                }10424                }
10320                leaf index {10425                leaf index {
10321                  type uint32 {10426                  type uint32 {
10322                    range "0..4294967295" {10427                    range "0..4294967295" {
10323                      description10428                      description
10324                        "ASN2:index (hex or decimal format)";10429                        "ASN2:index (hex or decimal format)";
10325                    }10430                    }
10326                  }10431                  }
10327                  mandatory true;10432                  mandatory true;
10328                  description10433                  description
10329                    "ASN2:index (hex or decimal format)";10434                    "ASN2:index (hex or decimal format)";
10330                }10435                }
10331              }10436              }
10332              container ip-address {10437              container ip-address {
10333                must "not(../two-byte-as or ../four-byte-as)";10438                must "not(../two-byte-as or ../four-byte-as)";
10334                presence "Indicates a ip-address node is configured.";10439                presence "Indicates a ip-address node is configured.";
10335                description10440                description
10336                  "configure this node";10441                  "configure this node";
10337                leaf ipv4-address {10442                leaf ipv4-address {
10338                  type inet:ipv4-address-no-zone;10443                  type inet:ipv4-address-no-zone;
10339                  mandatory true;10444                  mandatory true;
10340                  description10445                  description
10341                    "configure this node";10446                    "configure this node";
10342                }10447                }
10343                leaf index {10448                leaf index {
10344                  type uint32 {10449                  type uint32 {
10345                    range "0..65535" {10450                    range "0..65535" {
10346                      description10451                      description
10347                        "IPv4Address:index (hex or decimal format)";10452                        "IPv4Address:index (hex or decimal format)";
10348                    }10453                    }
10349                  }10454                  }
10350                  mandatory true;10455                  mandatory true;
10351                  description10456                  description
10352                    "IPv4Address:index (hex or decimal format)";10457                    "IPv4Address:index (hex or decimal format)";
10353                }10458                }
10354              }10459              }
10355            }10460            }
10356            container additional-paths {10461            container additional-paths {
10357              description10462              description
10358                "Additional paths capability";10463                "Additional paths capability";
10359              container receive {10464              container receive {
10360                presence "Indicates a receive node is configured.";10465                presence "Indicates a receive node is configured.";
10361                description10466                description
10362                  "Additional paths Receive capability";10467                  "Additional paths Receive capability";
10363                container disable {10468                container disable {
10364                  presence "Indicates a disable node is configured.";10469                  presence "Indicates a disable node is configured.";
10365                  description10470                  description
10366                    "Prevent additional-paths receive from being inherited from the parent";10471                    "Prevent additional-paths receive from being inherited from the parent";
10367                }10472                }
10368              }10473              }
10369              container send {10474              container send {
10370                presence "Indicates a send node is configured.";10475                presence "Indicates a send node is configured.";
10371                description10476                description
10372                  "Additional paths Send capability";10477                  "Additional paths Send capability";
10373                container disable {10478                container disable {
10374                  presence "Indicates a disable node is configured.";10479                  presence "Indicates a disable node is configured.";
10375                  description10480                  description
10376                    "Prevent additional-paths receive from being inherited from the parent";10481                    "Prevent additional-paths receive from being inherited from the parent";
10377                }10482                }
10378              }10483              }
10379            }10484            }
10380          }10485          }
10381        }10486        }
10382        container graceful-maintenance {10487        container graceful-maintenance {
10383          presence "Indicates a graceful-maintenance node is configured.";10488          presence "Indicates a graceful-maintenance node is configured.";
10384          description10489          description
10385            "BGP Graceful Maintenance mode configuration.";10490            "BGP Graceful Maintenance mode configuration.";
10386          container local-preference {10491          container local-preference {
10387            must "local-preference-value or inheritance-disable";10492            must "local-preference-value or inheritance-disable";
10388            presence "Indicates a local-preference node is configured.";10493            presence "Indicates a local-preference node is configured.";
10389            description10494            description
10390              "local preference with which to advertise routes to ibgps. Default=No Touch";10495              "local preference with which to advertise routes to ibgps. Default=No Touch";
10391            leaf local-preference-value {10496            leaf local-preference-value {
10392              type uint32 {10497              type uint32 {
10393                range "0..4294967295" {10498                range "0..4294967295" {
10394                  description10499                  description
10395                    "Range of values for Local Preference";10500                    "Range of values for Local Preference";
10396                }10501                }
10397              }10502              }
10398              description10503              description
10399                "Range of values for Local Preference";10504                "Range of values for Local Preference";
10400            }10505            }
10401            container inheritance-disable {10506            container inheritance-disable {
10402              presence "Indicates a inheritance-disable node is configured.";10507              presence "Indicates a inheritance-disable node is configured.";
10403              description10508              description
10404                "Prevent local preference from being inherited from the parent";10509                "Prevent local preference from being inherited from the parent";
10405            }10510            }
10406          }10511          }
10407          container as-prepends {10512          container as-prepends {
10408            must "number-of-as-prepends or inheritance-disable";10513            must "number-of-as-prepends or inheritance-disable";
10409            presence "Indicates a as-prepends node is configured.";10514            presence "Indicates a as-prepends node is configured.";
10410            description10515            description
10411              "Number of times to prepend the local AS number to the AS poutes. Default=0";10516              "Number of times to prepend the local AS number to the AS poutes. Default=0";
10412            leaf number-of-as-prepends {10517            leaf number-of-as-prepends {
10413              type uint32 {10518              type uint32 {
10414                range "0..6" {10519                range "0..6" {
10415                  description10520                  description
10416                    "Range of number of AS prepends";10521                    "Range of number of AS prepends";
10417                }10522                }
10418              }10523              }
10419              description10524              description
10420                "Range of number of AS prepends";10525                "Range of number of AS prepends";
10421            }10526            }
10422            container inheritance-disable {10527            container inheritance-disable {
10423              presence "Indicates a inheritance-disable node is configured.";10528              presence "Indicates a inheritance-disable node is configured.";
10424              description10529              description
10425                "Prevent AS prepends from being inherited from the parent";10530                "Prevent AS prepends from being inherited from the parent";
10426            }10531            }
10427          }10532          }
10428          container activate {10533          container activate {
10429            presence "Indicates a activate node is configured.";10534            presence "Indicates a activate node is configured.";
10430            description10535            description
10431              "Routes will be announced with the graceful maintenance10536              "Routes will be announced with the graceful maintenance
10432               attrhile activated either here or under router10537               attrhile activated either here or under router
10433               bgp ation. While activated, all routes to this10538               bgp ation. While activated, all routes to this
10434               neigl be announced with the attributes10539               neigl be announced with the attributes
10435               confere and all routes from this neighbor will10540               confere and all routes from this neighbor will
10436               be a to other neighbors with the graceful10541               be a to other neighbors with the graceful
10437               mainattributes configured under those10542               mainattributes configured under those
10438               neighe g-shut community will be announced10543               neighe g-shut community will be announced
10439               regaf the other attributes configured here. To10544               regaf the other attributes configured here. To
10440               alloshut community to be announced to ebgp10545               alloshut community to be announced to ebgp
10441               neighe send-community-gshut-ebgp configuration10546               neighe send-community-gshut-ebgp configuration
10442               is aired. Note: changes to the attributes will10547               is aired. Note: changes to the attributes will
10443               not ect while activated.";10548               not ect while activated.";
10444            container inheritance-disable {10549            container inheritance-disable {
10445              presence "Indicates a inheritance-disable node is configured.";10550              presence "Indicates a inheritance-disable node is configured.";
10446              description10551              description
10447                "Prevent activate from being inherited from the parent";10552                "Prevent activate from being inherited from the parent";
10448            }10553            }
10449          }10554          }
10450        }10555        }
10451        container update {10556        container update {
10452          description10557          description
10453            "BGP Update configuration";10558            "BGP Update configuration";
10454          container in {10559          container in {
10455            description10560            description
10456              "Inbound update message handling";10561              "Inbound update message handling";
10457            container filtering {10562            container filtering {
10458              presence "Indicates a filtering node is configured.";10563              presence "Indicates a filtering node is configured.";
10459              description10564              description
10460                "Inbound update message filtering";10565                "Inbound update message filtering";
10461              container message {10566              container message {
10462                description10567                description
10463                  "Filtered update messages";10568                  "Filtered update messages";
10464                leaf buffers {10569                leaf buffers {
10465                  type uint32 {10570                  type uint32 {
10466                    range "0..25" {10571                    range "0..25" {
10467                      description10572                      description
10468                        "Number of buffers to store filtered update messages (resizing does not take effect after filtering action has started)";10573                        "Number of buffers to store filtered update messages (resizing does not take effect after filtering action has started)";
10469                    }10574                    }
10470                  }10575                  }
10471                  must "not(../non-circular)";10576                  must "not(../non-circular)";
10472                  description10577                  description
10473                    "Filtered update message buffers";10578                    "Filtered update message buffers";
10474                }10579                }
10475                container non-circular {10580                container non-circular {
10476                  must "not(../buffers)";10581                  must "not(../buffers)";
10477                  presence "Indicates a non-circular node is configured.";10582                  presence "Indicates a non-circular node is configured.";
10478                  description10583                  description
10479                    "Message buffer list is not circular";10584                    "Message buffer list is not circular";
10480                }10585                }
10481              }10586              }
10482              container logging {10587              container logging {
10483                description10588                description
10484                  "Update filtering syslog message";10589                  "Update filtering syslog message";
10485                container disable {10590                container disable {
10486                  presence "Indicates a disable node is configured.";10591                  presence "Indicates a disable node is configured.";
10487                  description10592                  description
10488                    "Disable update filtering syslog message";10593                    "Disable update filtering syslog message";
10489                }10594                }
10490              }10595              }
10491              container attribute-filter {10596              container attribute-filter {
10492                description10597                description
10493                  "Attribute-filter configuration";10598                  "Attribute-filter configuration";
10494                leaf group {10599                leaf group {
10495                  type xr:Cisco-ios-xr-string {10600                  type xr:Cisco-ios-xr-string {
10496                    length "1..1024" {10601                    length "1..1024" {
10497                      description10602                      description
10498                        "Attribute-filter group name";10603                        "Attribute-filter group name";
10499                    }10604                    }
10500                  }10605                  }
10501                  description10606                  description
10502                    "Attribute-filter group configuration";10607                    "Attribute-filter group configuration";
10503                }10608                }
10504              }10609              }
10505            }10610            }
10506            container error-handling {10611            container error-handling {
10507              description10612              description
10508                "Inbound update message error handling";10613                "Inbound update message error handling";
10509              container avoid-reset {10614              container avoid-reset {
10510                presence "Indicates a avoid-reset node is configured.";10615                presence "Indicates a avoid-reset node is configured.";
10511                description10616                description
10512                  "Avoid neighbor reset during inbound update message error handling";10617                  "Avoid neighbor reset during inbound update message error handling";
10513                container disable {10618                container disable {
10514                  presence "Indicates a disable node is configured.";10619                  presence "Indicates a disable node is configured.";
10515                  description10620                  description
10516                    "Neighbor may be reset during inbound update message error handling";10621                    "Neighbor may be reset during inbound update message error handling";
10517                }10622                }
10518              }10623              }
10519              container treat-as-withdraw {10624              container treat-as-withdraw {
10520                presence "Indicates a treat-as-withdraw node is configured.";10625                presence "Indicates a treat-as-withdraw node is configured.";
10521                description10626                description
10522                  "Treat NLRIs as withdraws during inbound update message error handling";10627                  "Treat NLRIs as withdraws during inbound update message error handling";
10523                container disable {10628                container disable {
10524                  presence "Indicates a disable node is configured.";10629                  presence "Indicates a disable node is configured.";
10525                  description10630                  description
10526                    "Disable treat NLRIs as withdraws during inbound update message error handling";10631                    "Disable treat NLRIs as withdraws during inbound update message error handling";
10527                }10632                }
10528              }10633              }
10529            }10634            }
10530          }10635          }
10531        }10636        }
10532        leaf remote-as {10637        leaf remote-as {
10533          type xr:Bgp-as-number;10638          type xr:Bgp-as-number;
10534          description10639          description
10535            "bgp as-number";10640            "bgp as-number";
10536        }10641        }
10537        leaf remote-as-list {10642        leaf remote-as-list {
10538          type string {10643          type string {
10539            length "1..1024" {10644            length "1..1024" {
10540              description10645              description
10541                "as-list name";10646                "as-list name";
10542            }10647            }
10543          }10648          }
10544          description10649          description
10545            "Remote as-list configuration";10650            "Remote as-list configuration";
10546        }10651        }
10547        container use {10652        container use {
10548          description10653          description
10549            "Inherit configuration from a group";10654            "Inherit configuration from a group";
10550          leaf session-group {10655          leaf session-group {
10551            type string {10656            type string {
10552              length "1..1024" {10657              length "1..1024" {
10553                description10658                description
10554                  "Session group name";10659                  "Session group name";
10555              }10660              }
10556            }10661            }
10557            description10662            description
10558              "Inherit address-family independent config from a session-group";10663              "Inherit address-family independent config from a session-group";
10559          }10664          }
10560          leaf neighbor-group {10665          leaf neighbor-group {
10561            type string {10666            type string {
10562              length "1..1024" {10667              length "1..1024" {
10563                description10668                description
10564                  "Neighbor-group name";10669                  "Neighbor-group name";
10565              }10670              }
10566            }10671            }
10567            description10672            description
10568              "Inherit configuration from a neighbor-group";10673              "Inherit configuration from a neighbor-group";
10569          }10674          }
10570        }10675        }
10571        container advertisement-interval {10676        container advertisement-interval {
10572          presence "Indicates a advertisement-interval node is configured.";10677          presence "Indicates a advertisement-interval node is configured.";
10573          description10678          description
10574            "Minimum interval between sending BGP routing updates";10679            "Minimum interval between sending BGP routing updates";
10575          leaf time-in-seconds {10680          leaf time-in-seconds {
10576            type uint32 {10681            type uint32 {
10577              range "0..600" {10682              range "0..600" {
10578                description10683                description
10579                  "time in seconds";10684                  "time in seconds";
10580              }10685              }
10581            }10686            }
10582            mandatory true;10687            mandatory true;
10583            description10688            description
10584              "Minimum interval between sending BGP routing updates";10689              "Minimum interval between sending BGP routing updates";
10585          }10690          }
10586          leaf time-in-milliseconds {10691          leaf time-in-milliseconds {
10587            type uint32 {10692            type uint32 {
10588              range "0..999" {10693              range "0..999" {
10589                description10694                description
10590                  "time in milliseconds";10695                  "time in milliseconds";
10591              }10696              }
10592            }10697            }
10593            description10698            description
10594              "time in milliseconds";10699              "time in milliseconds";
10595          }10700          }
10596        }10701        }
10597        leaf description {10702        leaf description {
10598          type string {10703          type string {
10599            length "1..1024" {10704            length "1..1024" {
10600              description10705              description
10601                "Up to 256 characters describing this neighbor";10706                "Up to 256 characters describing this neighbor";
10602            }10707            }
10603          }10708          }
10604          description10709          description
10605            "Neighbor specific description";10710            "Neighbor specific description";
10606        }10711        }
10607        container ignore-connected-check {10712        container ignore-connected-check {
10608          presence "Indicates a ignore-connected-check node is configured.";10713          presence "Indicates a ignore-connected-check node is configured.";
10609          description10714          description
10610            "Bypass the directly connected nexthop check for single-hop eBGP peering";10715            "Bypass the directly connected nexthop check for single-hop eBGP peering";
10611          container inheritance-disable {10716          container inheritance-disable {
10612            presence "Indicates a inheritance-disable node is configured.";10717            presence "Indicates a inheritance-disable node is configured.";
10613            description10718            description
10614              "Prevent ignore-connected-check from being inherited from the parent";10719              "Prevent ignore-connected-check from being inherited from the parent";
10615          }10720          }
10616        }10721        }
10617        container internal-vpn-client {10722        container internal-vpn-client {
10618          presence "Indicates a internal-vpn-client node is configured.";10723          presence "Indicates a internal-vpn-client node is configured.";
10619          description10724          description
10620            "Preserve iBGP CE neighbor path in ATTR_SET across VPN core";10725            "Preserve iBGP CE neighbor path in ATTR_SET across VPN core";
10621        }10726        }
10622        container ebgp-multihop {10727        container ebgp-multihop {
10623          presence "Indicates a ebgp-multihop node is configured.";10728          presence "Indicates a ebgp-multihop node is configured.";
10624          description10729          description
10625            "Allow EBGP neighbors not on directly connected networks";10730            "Allow EBGP neighbors not on directly connected networks";
10626          leaf maximum-hop-count {10731          leaf maximum-hop-count {
10627            type uint32 {10732            type uint32 {
10628              range "1..255" {10733              range "1..255" {
10629                description10734                description
10630                  "maximum hop count";10735                  "maximum hop count";
10631              }10736              }
10632            }10737            }
10633            mandatory true;10738            mandatory true;
10634            description10739            description
10635              "maximum hop count";10740              "maximum hop count";
10636          }10741          }
10637          container mpls {10742          container mpls {
10638            presence "Indicates a mpls node is configured.";10743            presence "Indicates a mpls node is configured.";
10639            description10744            description
10640              "Disable BGP MPLS forwarding";10745              "Disable BGP MPLS forwarding";
10641          }10746          }
10642        }10747        }
10643        container tcp {10748        container tcp {
10644          description10749          description
10645            "TCP session configuration commands";10750            "TCP session configuration commands";
10646          container mss {10751          container mss {
10647            must "initial-mss or inheritance-disable";10752            must "initial-mss or inheritance-disable";
10648            presence "Indicates a mss node is configured.";10753            presence "Indicates a mss node is configured.";
10649            description10754            description
10650              "Maximum Segment Size";10755              "Maximum Segment Size";
10651            leaf initial-mss {10756            leaf initial-mss {
10652              type uint32 {10757              type uint32 {
10653                range "68..10000" {10758                range "68..10000" {
10654                  description10759                  description
10655                    "TCP initial maximum segment size";10760                    "TCP initial maximum segment size";
10656                }10761                }
10657              }10762              }
10658              description10763              description
10659                "TCP initial maximum segment size";10764                "TCP initial maximum segment size";
10660            }10765            }
10661            container inheritance-disable {10766            container inheritance-disable {
10662              presence "Indicates a inheritance-disable node is configured.";10767              presence "Indicates a inheritance-disable node is configured.";
10663              description10768              description
10664                "Prevent tcp mss from being inherited from the parent";10769                "Prevent tcp mss from being inherited from the parent";
10665            }10770            }
10666          }10771          }
10667          container ip-only-preferred {10772          container ip-only-preferred {
10668            presence "Indicates an ip-only-preferred node is configured.";10773            presence "Indicates an ip-only-preferred node is configured.";
10669            description10774            description
10670              "Prefer to send BGP control plane traffic on IP";10775              "Prefer to send BGP control plane traffic on IP";
10671            container inheritance-disable {10776            container inheritance-disable {
10672              presence "Indicates an inheritance-disable node is configured.";10777              presence "Indicates an inheritance-disable node is configured.";
10673              description10778              description
10674                "Do not inherit this configuration from parent group";10779                "Do not inherit this configuration from parent group";
10675            }10780            }
10676          }10781          }
10677        }10782        }
10678        container bmp-activate {10783        container bmp-activate {
10679          description10784          description
10680            "Enable BMP logging for this neighbor";10785            "Enable BMP logging for this neighbor";
10681          container servers {10786          container servers {
10682            description10787            description
10683              "Enable BMP connection to particular server";10788              "Enable BMP connection to particular server";
10684            list server {10789            list server {
10685              key "server-id";10790              key "server-id";
10686              description10791              description
10687                "Enable BMP connection to particular server";10792                "Enable BMP connection to particular server";
10688              leaf server-id {10793              leaf server-id {
10689                type uint32 {10794                type uint32 {
10690                  range "1..8" {10795                  range "1..8" {
10691                    description10796                    description
10692                      "Enable BMP connection to particular server";10797                      "Enable BMP connection to particular server";
10693                  }10798                  }
10694                }10799                }
10695                description10800                description
10696                  "Enable BMP connection to particular server";10801                  "Enable BMP connection to particular server";
10697              }10802              }
10698            }10803            }
10699          }10804          }
10700        }10805        }
10701        container bfd {10806        container bfd {
10702          description10807          description
10703            "Configure BFD parameters";10808            "Configure BFD parameters";
10704          container fast-detect {10809          container fast-detect {
10705            must "not(strict-mode and inheritance-disable)";10810            must "not(strict-mode and inheritance-disable)";
10706            presence "Indicates a fast-detect node is configured.";10811            presence "Indicates a fast-detect node is configured.";
10707            description10812            description
10708              "Enable Fast detection";10813              "Enable Fast detection";
10709            container strict-mode {10814            container strict-mode {
10710              presence "Indicates a strict-mode node is configured.";10815              presence "Indicates a strict-mode node is configured.";
10711              description10816              description
10712                "Hold down neighbor session until BFD session is up";10817                "Hold down neighbor session until BFD session is up";
10713            }10818            }
10714            container inheritance-disable {10819            container inheritance-disable {
10715              presence "Indicates a disable node is configured.";10820              presence "Indicates a disable node is configured.";
10716              description10821              description
10717                "Prevent bfd settings from being inherited from the parent";10822                "Prevent bfd settings from being inherited from the parent";
10718            }10823            }
10719          }10824          }
10720          leaf minimum-interval {10825          leaf minimum-interval {
10721            type uint32 {10826            type uint32 {
10722              range "3..30000" {10827              range "3..30000" {
10723                description10828                description
10724                  "hello interval in milli-seconds";10829                  "hello interval in milli-seconds";
10725              }10830              }
10726            }10831            }
10727            description10832            description
10728              "Hello interval";10833              "Hello interval";
10729          }10834          }
10730          leaf multiplier {10835          leaf multiplier {
10731            type uint32 {10836            type uint32 {
10732              range "2..16" {10837              range "2..16" {
10733                description10838                description
10734                  "Detect multiplier";10839                  "Detect multiplier";
10735              }10840              }
10736            }10841            }
10737            description10842            description
10738              "Detect multiplier";10843              "Detect multiplier";
10739          }10844          }
10740        }10845        }
10741        container keychain {10846        container keychain {
10742          must "name or inheritance-disable";10847          must "name or inheritance-disable";
10743          presence "Indicates a keychain node is configured.";10848          presence "Indicates a keychain node is configured.";
10744          description10849          description
10745            "Set keychain based authentication";10850            "Set keychain based authentication";
10746          leaf name {10851          leaf name {
10747            type string {10852            type string {
10748              length "1..32" {10853              length "1..32" {
10749                description10854                description
10750                  "Name of the key chain - maximum 32 characters";10855                  "Name of the key chain - maximum 32 characters";
10751              }10856              }
10752            }10857            }
10753            description10858            description
10754              "Name of the key chain - maximum 32 characters";10859              "Name of the key chain - maximum 32 characters";
10755          }10860          }
10756          container inheritance-disable {10861          container inheritance-disable {
10757            presence "Indicates a inheritance-disable node is configured.";10862            presence "Indicates a inheritance-disable node is configured.";
10758            description10863            description
10759              "Prevent keychain from being inherited from parent";10864              "Prevent keychain from being inherited from parent";
10760          }10865          }
10761        }10866        }
10762        container local-as {10867        container local-as {
10763          must "as-number or inheritance-disable";10868          must "as-number or inheritance-disable";
10764          presence "Indicates a local-as node is configured.";10869          presence "Indicates a local-as node is configured.";
10765          description10870          description
10766            "Specify local AS number";10871            "Specify local AS number";
10767          leaf as-number {10872          leaf as-number {
10768            type xr:Bgp-as-number;10873            type xr:Bgp-as-number;
10769            description10874            description
10770              "bgp as-number";10875              "bgp as-number";
10771          }10876          }
10772          container no-prepend {10877          container no-prepend {
10773            presence "Indicates a no-prepend node is configured.";10878            presence "Indicates a no-prepend node is configured.";
10774            description10879            description
10775              "Do not prepend local AS to announcements from this neighbor";10880              "Do not prepend local AS to announcements from this neighbor";
10776            container replace-as {10881            container replace-as {
10777              presence "Indicates a replace-as node is configured.";10882              presence "Indicates a replace-as node is configured.";
10778              description10883              description
10779                "Prepend only local AS to announcements to this neighbor";10884                "Prepend only local AS to announcements to this neighbor";
10780              container dual-as {10885              container dual-as {
10781                presence "Indicates a dual-as node is configured.";10886                presence "Indicates a dual-as node is configured.";
10782                description10887                description
10783                  "Dual-AS mode";10888                  "Dual-AS mode";
10784              }10889              }
10785            }10890            }
10786          }10891          }
10787          container inheritance-disable {10892          container inheritance-disable {
10788            presence "Indicates a inheritance-disable node is configured.";10893            presence "Indicates a inheritance-disable node is configured.";
10789            description10894            description
10790              "Prevent local AS from being inherited from parent";10895              "Prevent local AS from being inherited from parent";
10791          }10896          }
10792        }10897        }
10793        container password {10898        container password {
10794          must "encrypted or inheritance-disable";10899          must "encrypted or inheritance-disable";
10795          presence "Indicates a password node is configured.";10900          presence "Indicates a password node is configured.";
10796          description10901          description
10797            "Set a password";10902            "Set a password";
10798          leaf encrypted {10903          leaf encrypted {
10799            type xr:Proprietary-password;10904            type xr:Proprietary-password;
10800            description10905            description
10801              "Specifies an ENCRYPTED password will follow";10906              "Specifies an ENCRYPTED password will follow";
10802          }10907          }
10803          container inheritance-disable {10908          container inheritance-disable {
10804            presence "Indicates a inheritance-disable node is configured.";10909            presence "Indicates a inheritance-disable node is configured.";
10805            description10910            description
10806              "Prevent password from being inherited from parent";10911              "Prevent password from being inherited from parent";
10807          }10912          }
10808        }10913        }
10809        container receive-buffer-size {10914        container receive-buffer-size {
10810          presence "Indicates a receive-buffer-size node is configured.";10915          presence "Indicates a receive-buffer-size node is configured.";
10811          description10916          description
10812            "Set socket and BGP receive buffer size";10917            "Set socket and BGP receive buffer size";
10813          leaf receive-socket-buffer-size {10918          leaf receive-socket-buffer-size {
10814            type uint32 {10919            type uint32 {
10815              range "512..131072" {10920              range "512..131072" {
10816                description10921                description
10817                  "Receive socket buffer size in bytes";10922                  "Receive socket buffer size in bytes";
10818              }10923              }
10819            }10924            }
10820            mandatory true;10925            mandatory true;
10821            description10926            description
10822              "Set socket and BGP receive buffer size";10927              "Set socket and BGP receive buffer size";
10823          }10928          }
10824          leaf bgp-read-buffer-size {10929          leaf bgp-read-buffer-size {
10825            type uint32 {10930            type uint32 {
10826              range "512..131072" {10931              range "512..131072" {
10827                description10932                description
10828                  "BGP Read buffer size in bytes";10933                  "BGP Read buffer size in bytes";
10829              }10934              }
10830            }10935            }
10831            description10936            description
10832              "BGP Read buffer size in bytes";10937              "BGP Read buffer size in bytes";
10833          }10938          }
10834        }10939        }
10835        container send-buffer-size {10940        container send-buffer-size {
10836          presence "Indicates a send-buffer-size node is configured.";10941          presence "Indicates a send-buffer-size node is configured.";
10837          description10942          description
10838            "Set socket and BGP send buffer size";10943            "Set socket and BGP send buffer size";
10839          leaf send-socket-buffer-size {10944          leaf send-socket-buffer-size {
10840            type uint32 {10945            type uint32 {
10841              range "4096..131072" {10946              range "4096..131072" {
10842                description10947                description
10843                  "Send socket buffer size in bytes";10948                  "Send socket buffer size in bytes";
10844              }10949              }
10845            }10950            }
10846            mandatory true;10951            mandatory true;
10847            description10952            description
10848              "Set socket and BGP send buffer size";10953              "Set socket and BGP send buffer size";
10849          }10954          }
10850          leaf bgp-write-buffer-size {10955          leaf bgp-write-buffer-size {
10851            type uint32 {10956            type uint32 {
10852              range "4096..131072" {10957              range "4096..131072" {
10853                description10958                description
10854                  "BGP Write buffer size in bytes";10959                  "BGP Write buffer size in bytes";
10855              }10960              }
10856            }10961            }
10857            description10962            description
10858              "BGP Write buffer size in bytes";10963              "BGP Write buffer size in bytes";
10859          }10964          }
10860        }10965        }
10861        container shutdown {10966        container shutdown {
10862          presence "Indicates a shutdown node is configured.";10967          presence "Indicates a shutdown node is configured.";
10863          description10968          description
10864            "Administratively shut down this neighbor";10969            "Administratively shut down this neighbor";
10865          container inheritance-disable {10970          container inheritance-disable {
10866            presence "Indicates a inheritance-disable node is configured.";10971            presence "Indicates a inheritance-disable node is configured.";
10867            description10972            description
10868              "Prevent this neighbor being shutdown, even if its parent is";10973              "Prevent this neighbor being shutdown, even if its parent is";
10869          }10974          }
10870        }10975        }
10871        container fast-fallover {10976        container fast-fallover {
10872          presence "Indicates a fast-fallover node is configured.";10977          presence "Indicates a fast-fallover node is configured.";
10873          description10978          description
10874            "Force neighbor to be directly connected. Bring neighbor down if its interface goes down";10979            "Force neighbor to be directly connected. Bring neighbor down if its interface goes down";
10875          container inheritance-disable {10980          container inheritance-disable {
10876            presence "Indicates a inheritance-disable node is configured.";10981            presence "Indicates a inheritance-disable node is configured.";
10877            description10982            description
10878              "Prevent this neighbor from inheriting this config from a group it is in";10983              "Prevent this neighbor from inheriting this config from a group it is in";
10879          }10984          }
10880        }10985        }
10881        container timers {10986        container timers {
10882          presence "Indicates a timers node is configured.";10987          presence "Indicates a timers node is configured.";
10883          description10988          description
10884            "BGP per neighbor timers";10989            "BGP per neighbor timers";
10885          leaf keepalive-interval {10990          leaf keepalive-interval {
10886            type uint32 {10991            type uint32 {
10887              range "0..65535" {10992              range "0..65535" {
10888                description10993                description
10889                  "Keepalive interval";10994                  "Keepalive interval";
10890              }10995              }
10891            }10996            }
10892            mandatory true;10997            mandatory true;
10893            description10998            description
10894              "BGP timers";10999              "BGP timers";
10895          }11000          }
10896          leaf holdtime {11001          leaf holdtime {
10897            type union {11002            type union {
10898              type uint32 {11003              type uint32 {
10899                range "0" {11004                range "0" {
10900                  description11005                  description
10901                    "0 to disable keepalives/hold time.";11006                    "0 to disable keepalives/hold time.";
10902                }11007                }
10903              }11008              }
10904              type uint32 {11009              type uint32 {
10905                range "3..65535" {11010                range "3..65535" {
10906                  description11011                  description
10907                    "Holdtime.";11012                    "Holdtime.";
10908                }11013                }
10909              }11014              }
10910            }11015            }
10911            mandatory true;11016            mandatory true;
10912            description11017            description
10913              "Holdtime. Set 0 to disable keepalives/hold time.";11018              "Holdtime. Set 0 to disable keepalives/hold time.";
10914          }11019          }
10915          leaf minimum-acceptable-holdtime {11020          leaf minimum-acceptable-holdtime {
10916            type union {11021            type union {
10917              type uint32 {11022              type uint32 {
10918                range "0" {11023                range "0" {
10919                  description11024                  description
10920                    "0 to disable keepalives/hold time.";11025                    "0 to disable keepalives/hold time.";
10921                }11026                }
10922              }11027              }
10923              type uint32 {11028              type uint32 {
10924                range "3..65535" {11029                range "3..65535" {
10925                  description11030                  description
10926                    "Minimum acceptable holdtime from neighbor.";11031                    "Minimum acceptable holdtime from neighbor.";
10927                }11032                }
10928              }11033              }
10929            }11034            }
10930            description11035            description
10931              "Minimum acceptable holdtime from neighbor. Set 0 to disable keepalives/hold time.";11036              "Minimum acceptable holdtime from neighbor. Set 0 to disable keepalives/hold time.";
10932          }11037          }
10933        }11038        }
10934        container local {11039        container local {
10935          description11040          description
10936            "Configure local parameter";11041            "Configure local parameter";
10937          container address {11042          container address {
10938            must "ip-address or inheritance-disable";11043            must "ip-address or inheritance-disable";
10939            presence "Indicates a address node is configured.";11044            presence "Indicates a address node is configured.";
10940            description11045            description
10941              "use configured local address for bgp peering";11046              "use configured local address for bgp peering";
10942            leaf ip-address {11047            leaf ip-address {
10943              type inet:ip-address-no-zone;11048              type inet:ip-address-no-zone;
10944              description11049              description
10945                "IPv4 address";11050                "IPv4 address";
10946            }11051            }
10947            container inheritance-disable {11052            container inheritance-disable {
10948              presence "Indicates a inheritance-disable node is configured.";11053              presence "Indicates a inheritance-disable node is configured.";
10949              description11054              description
10950                "Prevent local address from being inherited from parent";11055                "Prevent local address from being inherited from parent";
10951            }11056            }
10952          }11057          }
10953        }11058        }
10954        container log {11059        container log {
10955          description11060          description
10956            "Logging update messages per neighbor";11061            "Logging update messages per neighbor";
10957          container message {11062          container message {
10958            description11063            description
10959              "Logging update/notification messages per neighbor";11064              "Logging update/notification messages per neighbor";
10960            container in {11065            container in {
10961              description11066              description
10962                "Inbound log messages";11067                "Inbound log messages";
10963              leaf message-log-buffer-size {11068              leaf message-log-buffer-size {
10964                type uint32 {11069                type uint32 {
10965                  range "1..500" {11070                  range "1..500" {
10966                    description11071                    description
10967                      "Range for message log buffer size";11072                      "Range for message log buffer size";
10968                  }11073                  }
10969                }11074                }
10970                description11075                description
10971                  "Range for message log buffer size";11076                  "Range for message log buffer size";
10972              }11077              }
10973              container disable {11078              container disable {
10974                presence "Indicates a disable node is configured.";11079                presence "Indicates a disable node is configured.";
10975                description11080                description
10976                  "Disable inbound message logging";11081                  "Disable inbound message logging";
10977              }11082              }
10978              container inheritance-diable {11083              container inheritance-diable {
10979                presence "Indicates a inheritance-diable node is configured.";11084                presence "Indicates a inheritance-diable node is configured.";
10980                description11085                description
10981                  "Prevents the msg log from being inherited from the parent";11086                  "Prevents the msg log from being inherited from the parent";
10982              }11087              }
10983            }11088            }
10984            container out {11089            container out {
10985              description11090              description
10986                "Outbound log messages";11091                "Outbound log messages";
10987              leaf message-log-buffer-size {11092              leaf message-log-buffer-size {
10988                type uint32 {11093                type uint32 {
10989                  range "1..500" {11094                  range "1..500" {
10990                    description11095                    description
10991                      "Range for message log buffer size";11096                      "Range for message log buffer size";
10992                  }11097                  }
10993                }11098                }
10994                description11099                description
10995                  "Range for message log buffer size";11100                  "Range for message log buffer size";
10996              }11101              }
10997              container disable {11102              container disable {
10998                presence "Indicates a disable node is configured.";11103                presence "Indicates a disable node is configured.";
10999                description11104                description
11000                  "Disable outbound message logging";11105                  "Disable outbound message logging";
11001              }11106              }
11002              container inheritance-diable {11107              container inheritance-diable {
11003                presence "Indicates a inheritance-diable node is configured.";11108                presence "Indicates a inheritance-diable node is configured.";
11004                description11109                description
11005                  "Prevents the msg log from being inherited from the parent";11110                  "Prevents the msg log from being inherited from the parent";
11006              }11111              }
11007            }11112            }
11008          }11113          }
11009          container neighbor {11114          container neighbor {
11010            description11115            description
11011              "Log neighbor state info";11116              "Log neighbor state info";
11012            container changes {11117            container changes {
11013              description11118              description
11014                "Log neighbor state changes";11119                "Log neighbor state changes";
11015              container detail {11120              container detail {
11016                must "not(../disable or ../inheritance-disable)";11121                must "not(../disable or ../inheritance-disable)";
11017                presence "Indicates a detail node is configured.";11122                presence "Indicates a detail node is configured.";
11018                description11123                description
11019                  "detail";11124                  "detail";
11020              }11125              }
11021              container disable {11126              container disable {
11022                must "not(../detail or ../inheritance-disable)";11127                must "not(../detail or ../inheritance-disable)";
11023                presence "Indicates a disable node is configured.";11128                presence "Indicates a disable node is configured.";
11024                description11129                description
11025                  "disable";11130                  "disable";
11026              }11131              }
11027              container inheritance-disable {11132              container inheritance-disable {
11028                must "not(../detail or ../disable)";11133                must "not(../detail or ../disable)";
11029                presence "Indicates a inheritance-disable node is configured.";11134                presence "Indicates a inheritance-disable node is configured.";
11030                description11135                description
11031                  "Prevents the log state changes from being inherited from the parent";11136                  "Prevents the log state changes from being inherited from the parent";
11032              }11137              }
11033            }11138            }
11034          }11139          }
11035        }11140        }
11036        leaf update-source {11141        leaf update-source {
11037          type xr:Interface-name;11142          type xr:Interface-name;
11038          description11143          description
11039            "Source of routing updates";11144            "Source of routing updates";
11040        }11145        }
11041        container local-address-subnet {11146        container local-address-subnet {
11042          description11147          description
11043            "Local address subnet of routing updates";11148            "Local address subnet of routing updates";
11044          leaf ip-address {11149          leaf ip-address {
11045            type inet:ip-address-no-zone;11150            type inet:ip-address-no-zone;
11046            description11151            description
11047              "IP address and mask length";11152              "IP address and mask length";
11048          }11153          }
11049          leaf mask-length {11154          leaf mask-length {
11050            type uint32 {11155            type uint32 {
11051              range "0..128" {11156              range "0..128" {
11052                description11157                description
11053                  "IP address mask length";11158                  "IP address mask length";
11054              }11159              }
11055            }11160            }
11056            description11161            description
11057              "IP address and mask length";11162              "IP address and mask length";
11058          }11163          }
11059        }11164        }
11060        container dmz-link-bandwidth {11165        container dmz-link-bandwidth {
11061          presence "Indicates a dmz-link-bandwidth node is configured.";11166          presence "Indicates a dmz-link-bandwidth node is configured.";
11062          description11167          description
11063            "Propagate the DMZ link bandwidth";11168            "Propagate the DMZ link bandwidth";
11064          container inheritance-disable {11169          container inheritance-disable {
11065            presence "Indicates a inheritance-disable node is configured.";11170            presence "Indicates a inheritance-disable node is configured.";
11066            description11171            description
11067              "Prevent dmz-link-bandwidth from being inherited from the parent";11172              "Prevent dmz-link-bandwidth from being inherited from the parent";
11068          }11173          }
11069        }11174        }
11070        container ebgp-recv-extcommunity-dmz {11175        container ebgp-recv-extcommunity-dmz {
11071          presence "Indicates a ebgp-recv-extcommunity-dmz node is configured.";11176          presence "Indicates a ebgp-recv-extcommunity-dmz node is configured.";
11072          description11177          description
11073            "Receive extcommunity dmz link bandwidth from ebgp neighbor";11178            "Receive extcommunity dmz link bandwidth from ebgp neighbor";
11074          container inheritance-disable {11179          container inheritance-disable {
11075            presence "Indicates a inheritance-disable node is configured.";11180            presence "Indicates a inheritance-disable node is configured.";
11076            description11181            description
11077              "Prevent ebgp-send-community-dmz from being inherited from parent";11182              "Prevent ebgp-send-community-dmz from being inherited from parent";
11078          }11183          }
11079        }11184        }
11080        container ebgp-send-extcommunity-dmz {11185        container ebgp-send-extcommunity-dmz {
11081          must "not(cumulative and inheritance-disable)";11186          must "not(cumulative and inheritance-disable)";
11082          presence "Indicates a ebgp-send-extcommunity-dmz node is configured.";11187          presence "Indicates a ebgp-send-extcommunity-dmz node is configured.";
11083          description11188          description
11084            "Send extended community dmz link bandwidth to ebgp neighbor";11189            "Send extended community dmz link bandwidth to ebgp neighbor";
11085          container cumulative {11190          container cumulative {
11086            presence "Indicates a cumulative node is configured.";11191            presence "Indicates a cumulative node is configured.";
11087            description11192            description
11088              "Send cumulative community dmz link bandwidth of all multipaths to ebgp neighbor";11193              "Send cumulative community dmz link bandwidth of all multipaths to ebgp neighbor";
11089          }11194          }
11090          container inheritance-disable {11195          container inheritance-disable {
11091            presence "Indicates a inheritance-disable node is configured.";11196            presence "Indicates a inheritance-disable node is configured.";
11092            description11197            description
11093              "Prevent ebgp-send-extcommunity-dmz from being inherited from parent";11198              "Prevent ebgp-send-extcommunity-dmz from being inherited from parent";
11094          }11199          }
11095        }11200        }
11096        container ttl-security {11201        container ttl-security {
11097          presence "Indicates a ttl-security node is configured.";11202          presence "Indicates a ttl-security node is configured.";
11098          description11203          description
11099            "Enable EBGP TTL security";11204            "Enable EBGP TTL security";
11100          container inheritance-disable {11205          container inheritance-disable {
11101            presence "Indicates a inheritance-disable node is configured.";11206            presence "Indicates a inheritance-disable node is configured.";
11102            description11207            description
11103              "Prevent ttl-security from being inherited from the parent";11208              "Prevent ttl-security from being inherited from the parent";
11104          }11209          }
11105        }11210        }
11106        container session-open-mode {11211        container session-open-mode {
11107          description11212          description
11108            "Establish BGP session using this TCP open mode";11213            "Establish BGP session using this TCP open mode";
11109          container active-only {11214          container active-only {
11110            must "not(../passive-only or ../both)";11215            must "not(../passive-only or ../both)";
11111            presence "Indicates a active-only node is configured.";11216            presence "Indicates a active-only node is configured.";
11112            description11217            description
11113              "Active only";11218              "Active only";
11114          }11219          }
11115          container passive-only {11220          container passive-only {
11116            must "not(../active-only or ../both)";11221            must "not(../active-only or ../both)";
11117            presence "Indicates a passive-only node is configured.";11222            presence "Indicates a passive-only node is configured.";
11118            description11223            description
11119              "Passive only";11224              "Passive only";
11120          }11225          }
11121          container both {11226          container both {
11122            must "not(../active-only or ../passive-only)";11227            must "not(../active-only or ../passive-only)";
11123            presence "Indicates a both node is configured.";11228            presence "Indicates a both node is configured.";
11124            description11229            description
11125              "Prevent session-open-mode being inherited from the parent";11230              "Prevent session-open-mode being inherited from the parent";
11126          }11231          }
11127        }11232        }
11128        leaf dscp {11233        leaf dscp {
11129          type enumeration {11234          type enumeration {
11130            enum "default" {11235            enum "default" {
11131              value 0;11236              value 0;
11132              description11237              description
11133                "Set packets with default dscp (000000)";11238                "Set packets with default dscp (000000)";
11134            }11239            }
11135            enum "cs1" {11240            enum "cs1" {
11136              value 8;11241              value 8;
11137              description11242              description
11138                "Set packets with CS1(precedence 1) dscp (001000)";11243                "Set packets with CS1(precedence 1) dscp (001000)";
11139            }11244            }
11140            enum "af11" {11245            enum "af11" {
11141              value 10;11246              value 10;
11142              description11247              description
11143                "Set packets with AF11 dscp (001010)";11248                "Set packets with AF11 dscp (001010)";
11144            }11249            }
11145            enum "af12" {11250            enum "af12" {
11146              value 12;11251              value 12;
11147              description11252              description
11148                "Set packets with AF12 dscp (001100)";11253                "Set packets with AF12 dscp (001100)";
11149            }11254            }
11150            enum "af13" {11255            enum "af13" {
11151              value 14;11256              value 14;
11152              description11257              description
11153                "Set packets with AF13 dscp (001110)";11258                "Set packets with AF13 dscp (001110)";
11154            }11259            }
11155            enum "cs2" {11260            enum "cs2" {
11156              value 16;11261              value 16;
11157              description11262              description
11158                "Set packets with CS2(precedence 2) dscp (010000)";11263                "Set packets with CS2(precedence 2) dscp (010000)";
11159            }11264            }
11160            enum "af21" {11265            enum "af21" {
11161              value 18;11266              value 18;
11162              description11267              description
11163                "Set packets with AF21 dscp (010010)";11268                "Set packets with AF21 dscp (010010)";
11164            }11269            }
11165            enum "af22" {11270            enum "af22" {
11166              value 20;11271              value 20;
11167              description11272              description
11168                "Set packets with AF22 dscp (010100)";11273                "Set packets with AF22 dscp (010100)";
11169            }11274            }
11170            enum "af23" {11275            enum "af23" {
11171              value 22;11276              value 22;
11172              description11277              description
11173                "Set packets with AF23 dscp (010110)";11278                "Set packets with AF23 dscp (010110)";
11174            }11279            }
11175            enum "cs3" {11280            enum "cs3" {
11176              value 24;11281              value 24;
11177              description11282              description
11178                "Set packets with CS3(precedence 3) dscp (011000)";11283                "Set packets with CS3(precedence 3) dscp (011000)";
11179            }11284            }
11180            enum "af31" {11285            enum "af31" {
11181              value 26;11286              value 26;
11182              description11287              description
11183                "Set packets with AF31 dscp (011010)";11288                "Set packets with AF31 dscp (011010)";
11184            }11289            }
11185            enum "af32" {11290            enum "af32" {
11186              value 28;11291              value 28;
11187              description11292              description
11188                "Set packets with AF32 dscp (011100)";11293                "Set packets with AF32 dscp (011100)";
11189            }11294            }
11190            enum "af33" {11295            enum "af33" {
11191              value 30;11296              value 30;
11192              description11297              description
11193                "Set packets with AF33 dscp (011110)";11298                "Set packets with AF33 dscp (011110)";
11194            }11299            }
11195            enum "cs4" {11300            enum "cs4" {
11196              value 32;11301              value 32;
11197              description11302              description
11198                "Set packets with CS4(precedence 4) dscp (100000)";11303                "Set packets with CS4(precedence 4) dscp (100000)";
11199            }11304            }
11200            enum "af41" {11305            enum "af41" {
11201              value 34;11306              value 34;
11202              description11307              description
11203                "Set packets with AF41 dscp (100010)";11308                "Set packets with AF41 dscp (100010)";
11204            }11309            }
11205            enum "af42" {11310            enum "af42" {
11206              value 36;11311              value 36;
11207              description11312              description
11208                "Set packets with AF42 dscp (100100)";11313                "Set packets with AF42 dscp (100100)";
11209            }11314            }
11210            enum "af43" {11315            enum "af43" {
11211              value 38;11316              value 38;
11212              description11317              description
11213                "Set packets with AF43 dscp (100110)";11318                "Set packets with AF43 dscp (100110)";
11214            }11319            }
11215            enum "cs5" {11320            enum "cs5" {
11216              value 40;11321              value 40;
11217              description11322              description
11218                "Set packets with CS5(precedence 5) dscp (101000)";11323                "Set packets with CS5(precedence 5) dscp (101000)";
11219            }11324            }
11220            enum "ef" {11325            enum "ef" {
11221              value 46;11326              value 46;
11222              description11327              description
11223                "Set packets with EF dscp (101110)";11328                "Set packets with EF dscp (101110)";
11224            }11329            }
11225            enum "cs6" {11330            enum "cs6" {
11226              value 48;11331              value 48;
11227              description11332              description
11228                "Set packets with CS6(precedence 6) dscp (110000)";11333                "Set packets with CS6(precedence 6) dscp (110000)";
11229            }11334            }
11230            enum "cs7" {11335            enum "cs7" {
11231              value 56;11336              value 56;
11232              description11337              description
11233                "Set packets with CS7(precedence 7) dscp (111000)";11338                "Set packets with CS7(precedence 7) dscp (111000)";
11234            }11339            }
11235          }11340          }
11236          description11341          description
11237            "Set IP DSCP (DiffServ CodePoint)";11342            "Set IP DSCP (DiffServ CodePoint)";
11238        }11343        }
11239        leaf precedence {11344        leaf precedence {
11240          type enumeration {11345          type enumeration {
11241            enum "routine" {11346            enum "routine" {
11242              value 0;11347              value 0;
11243              description11348              description
11244                "Set packets with routine precedence (0)";11349                "Set packets with routine precedence (0)";
11245            }11350            }
11246            enum "priority" {11351            enum "priority" {
11247              value 1;11352              value 1;
11248              description11353              description
11249                "Set packets with priority precedence (1)";11354                "Set packets with priority precedence (1)";
11250            }11355            }
11251            enum "immediate" {11356            enum "immediate" {
11252              value 2;11357              value 2;
11253              description11358              description
11254                "Set packets with immediate precedence (2)";11359                "Set packets with immediate precedence (2)";
11255            }11360            }
11256            enum "flash" {11361            enum "flash" {
11257              value 3;11362              value 3;
11258              description11363              description
11259                "Set packets with flash precedence (3)";11364                "Set packets with flash precedence (3)";
11260            }11365            }
11261            enum "flash-override" {11366            enum "flash-override" {
11262              value 4;11367              value 4;
11263              description11368              description
11264                "Set packets with flash override precedence (4)";11369                "Set packets with flash override precedence (4)";
11265            }11370            }
11266            enum "critical" {11371            enum "critical" {
11267              value 5;11372              value 5;
11268              description11373              description
11269                "Set packets with critical precedence (5)";11374                "Set packets with critical precedence (5)";
11270            }11375            }
11271            enum "internet" {11376            enum "internet" {
11272              value 6;11377              value 6;
11273              description11378              description
11274                "Set packets with internetwork control precedence (6)";11379                "Set packets with internetwork control precedence (6)";
11275            }11380            }
11276            enum "network" {11381            enum "network" {
11277              value 7;11382              value 7;
11278              description11383              description
11279                "Set packets with network control precedence (7)";11384                "Set packets with network control precedence (7)";
11280            }11385            }
11281          }11386          }
11282          description11387          description
11283            "Set precedence";11388            "Set precedence";
11284        }11389        }
11285        container capability {11390        container capability {
11286          description11391          description
11287            "Advertise capability to the peer";11392            "Advertise capability to the peer";
11288          container suppress {11393          container suppress {
11289            description11394            description
11290              "Suppress advertising capability to the peer ";11395              "Suppress advertising capability to the peer ";
11291            container four-byte-as {11396            container four-byte-as {
11292              presence "Indicates a four-byte-as node is configured.";11397              presence "Indicates a four-byte-as node is configured.";
11293              description11398              description
11294                "4-byte-as capability";11399                "4-byte-as capability";
11295              container inheritance-disable {11400              container inheritance-disable {
11296                presence "Indicates a inheritance-disable node is configured.";11401                presence "Indicates a inheritance-disable node is configured.";
11297                description11402                description
11298                  "Prevent capability suppress 4-type-as being inherited from the parent";11403                  "Prevent capability suppress 4-type-as being inherited from the parent";
11299              }11404              }
11300            }11405            }
11301            container all {11406            container all {
11302              presence "Indicates a all node is configured.";11407              presence "Indicates a all node is configured.";
11303              description11408              description
11304                "All capabilities";11409                "All capabilities";
11305              container inheritance-disable {11410              container inheritance-disable {
11306                presence "Indicates a inheritance-disable node is configured.";11411                presence "Indicates a inheritance-disable node is configured.";
11307                description11412                description
11308                  "Do not inherit this configuration from parent group";11413                  "Do not inherit this configuration from parent group";
11309              }11414              }
11310            }11415            }
11311            container extended-nexthop-encoding {11416            container extended-nexthop-encoding {
11312              presence "Indicates a extended-nexthop-encoding node is configured.";11417              presence "Indicates a extended-nexthop-encoding node is configured.";
11313              description11418              description
11314                "Extended-nexthop-encoding capabilities (IETF RFC 5549)";11419                "Extended-nexthop-encoding capabilities (IETF RFC 5549)";
11315              container inheritance-disable {11420              container inheritance-disable {
11316                presence "Indicates a inheritance-disable node is configured.";11421                presence "Indicates a inheritance-disable node is configured.";
11317                description11422                description
11318                  "Do not inherit this configuration from parent group";11423                  "Do not inherit this configuration from parent group";
11319              }11424              }
11320            }11425            }
11321          }11426          }
11322          container additional-paths {11427          container additional-paths {
11323            description11428            description
11324              "Additional paths capability";11429              "Additional paths capability";
11325            container send {11430            container send {
11326              presence "Indicates a send node is configured.";11431              presence "Indicates a send node is configured.";
11327              description11432              description
11328                "Additional paths Send capability";11433                "Additional paths Send capability";
11329              container disable {11434              container disable {
11330                presence "Indicates a disable node is configured.";11435                presence "Indicates a disable node is configured.";
11331                description11436                description
11332                  "Do not advertise additional paths Send capability";11437                  "Do not advertise additional paths Send capability";
11333              }11438              }
11334            }11439            }
11335            container receive {11440            container receive {
11336              presence "Indicates a receive node is configured.";11441              presence "Indicates a receive node is configured.";
11337              description11442              description
11338                "Additional paths Receive capability";11443                "Additional paths Receive capability";
11339              container disable {11444              container disable {
11340                presence "Indicates a disable node is configured.";11445                presence "Indicates a disable node is configured.";
11341                description11446                description
11342                  "Do not advertise additional paths Receive capability";11447                  "Do not advertise additional paths Receive capability";
11343              }11448              }
11344            }11449            }
11345          }11450          }
11346        }11451        }
11347        container graceful-restart {11452        container graceful-restart {
11348          presence "Indicates a graceful-restart node is configured.";11453          presence "Indicates a graceful-restart node is configured.";
11349          description11454          description
11350            "Enable graceful restart support for this neighbor";11455            "Enable graceful restart support for this neighbor";
11351          container disable {11456          container disable {
11352            presence "Indicates a disable node is configured.";11457            presence "Indicates a disable node is configured.";
11353            description11458            description
11354              "Disable graceful restart support for this neighbor";11459              "Disable graceful restart support for this neighbor";
11355          }11460          }
11356          leaf restart-time {11461          leaf restart-time {
11357            type uint32 {11462            type uint32 {
11358              range "1..4095" {11463              range "1..4095" {
11359                description11464                description
11360                  "Max time (seconds)";11465                  "Max time (seconds)";
11361              }11466              }
11362            }11467            }
11363            description11468            description
11364              "Restart time advertised to the neighbor";11469              "Restart time advertised to the neighbor";
11365          }11470          }
11366          leaf stalepath-time {11471          leaf stalepath-time {
11367            type uint32 {11472            type uint32 {
11368              range "1..4095" {11473              range "1..4095" {
11369                description11474                description
11370                  "Max time (seconds)";11475                  "Max time (seconds)";
11371              }11476              }
11372            }11477            }
11373            description11478            description
11374              "Maximum time to wait for restart of GR capable peer";11479              "Maximum time to wait for restart of GR capable peer";
11375          }11480          }
11376        }11481        }
11377        container enforce-first-as {11482        container enforce-first-as {
11378          presence "Indicates a enforce-first-as node is configured.";11483          presence "Indicates a enforce-first-as node is configured.";
11379          description11484          description
11380            "Enforce the first AS for EBGP routes";11485            "Enforce the first AS for EBGP routes";
11381          container disable {11486          container disable {
11382            presence "Indicates a disable node is configured.";11487            presence "Indicates a disable node is configured.";
11383            description11488            description
11384              "Do not enforce the first AS for EBGP routes";11489              "Do not enforce the first AS for EBGP routes";
11385          }11490          }
11386        }11491        }
11387        container cluster-id {11492        container cluster-id {
11388          description11493          description
11389            "Enter cluster id for this neighbor";11494            "Enter cluster id for this neighbor";
11390          leaf route-reflector-cluster-id {11495          leaf route-reflector-cluster-id {
11391            type uint32 {11496            type uint32 {
11392              range "1..4294967295" {11497              range "1..4294967295" {
11393                description11498                description
11394                  "Route-Reflector Cluster-id as 32 bit quantity";11499                  "Route-Reflector Cluster-id as 32 bit quantity";
11395              }11500              }
11396            }11501            }
11397            description11502            description
11398              "Route-Reflector Cluster-id as 32 bit quantity";11503              "Route-Reflector Cluster-id as 32 bit quantity";
11399          }11504          }
11400          leaf ip-address {11505          leaf ip-address {
11401            type inet:ipv4-address-no-zone;11506            type inet:ipv4-address-no-zone;
11402            description11507            description
11403              "configure this node";11508              "configure this node";
11404          }11509          }
11405        }11510        }
11406        leaf maximum-peers {11511        leaf maximum-peers {
11407          type uint32 {11512          type uint32 {
11408            range "1..4095" {11513            range "1..4095" {
11409              description11514              description
11410                "Maximum number of peers";11515                "Maximum number of peers";
11411            }11516            }
11412          }11517          }
11413          description11518          description
11414            "Maximum dynamic neighbors";11519            "Maximum dynamic neighbors";
11415        }11520        }
11416        leaf idle-watch-time {11521        leaf idle-watch-time {
11417          type uint32 {11522          type uint32 {
11418            range "30..1800" {11523            range "30..1800" {
11419              description11524              description
11420                "Max time (seconds)";11525                "Max time (seconds)";
11421            }11526            }
11422          }11527          }
11423          description11528          description
11424            "Maximum time to wait for deletion of IDLE state dynamic peer";11529            "Maximum time to wait for deletion of IDLE state dynamic peer";
11425        }11530        }
11426        container egress-engineering {11531        container egress-engineering {
11427          presence "Indicates a egress-engineering node is configured.";11532          presence "Indicates a egress-engineering node is configured.";
11428          description11533          description
11429            "Enable egress peer engineering for this neighbor";11534            "Enable egress peer engineering for this neighbor";
11430          container inheritance-disable {11535          container inheritance-disable {
11431            presence "Indicates a inheritance-disable node is configured.";11536            presence "Indicates a inheritance-disable node is configured.";
11432            description11537            description
11433              "Do not inherit egress-engineering from the parent";11538              "Do not inherit egress-engineering from the parent";
11434          }11539          }
11435        }11540        }
11436        container peer-sets {11541        container peer-sets {
11437          description11542          description
11438            "Assign this neighbor to a peer-set used for egress peer engineering";11543            "Assign this neighbor to a peer-set used for egress peer engineering";
11439          list peer-set {11544          list peer-set {
11440            key "peer-set-id";11545            key "peer-set-id";
11441            description11546            description
11442              "Assign this neighbor to a peer-set used for egress peer engineering";11547              "Assign this neighbor to a peer-set used for egress peer engineering";
11443            leaf peer-set-id {11548            leaf peer-set-id {
11444              type uint32 {11549              type uint32 {
11445                range "1..255" {11550                range "1..255" {
11446                  description11551                  description
11447                    "Identity value of peer-set";11552                    "Identity value of peer-set";
11448                }11553                }
11449              }11554              }
11450              description11555              description
11451                "Assign this neighbor to a peer-set used for egress peer engineering";11556                "Assign this neighbor to a peer-set used for egress peer engineering";
11452            }11557            }
11453          }11558          }
11454        }11559        }
11455        container ao {11560        container ao {
11456          description11561          description
11457            "Enable Authentiation Option";11562            "Enable Authentiation Option";
11458          leaf key-chain-name {11563          leaf key-chain-name {
11459            type string {11564            type string {
11460              length "1..32" {11565              length "1..32" {
11461                description11566                description
11462                  "Name of the key chain - maximum 32 characters";11567                  "Name of the key chain - maximum 32 characters";
11463              }11568              }
11464            }11569            }
11465            must "not(../inheritance-disable) and (../include-tcp-options/enable or ../include-tcp-options/disable)";11570            must "not(../inheritance-disable) and (../include-tcp-options/enable or ../include-tcp-options/disable)";
11466            description11571            description
11467              "Name of the key chain - maximum 32 characters";11572              "Name of the key chain - maximum 32 characters";
11468          }11573          }
11469          container include-tcp-options {11574          container include-tcp-options {
11470            description11575            description
11471              "Include/Exclude other TCP options in the header";11576              "Include/Exclude other TCP options in the header";
11472            container enable {11577            container enable {
11473              must "not(../disable or ../../inheritance-disable)";11578              must "not(../disable or ../../inheritance-disable)";
11474              presence "Indicates a enable node is configured.";11579              presence "Indicates a enable node is configured.";
11475              description11580              description
11476                "Include other TCP options in the header";11581                "Include other TCP options in the header";
11477            }11582            }
11478            container disable {11583            container disable {
11479              must "not(../enable or ../../inheritance-disable)";11584              must "not(../enable or ../../inheritance-disable)";
11480              presence "Indicates a disable node is configured.";11585              presence "Indicates a disable node is configured.";
11481              description11586              description
11482                "Exclude other TCP options in the header";11587                "Exclude other TCP options in the header";
11483            }11588            }
11484            container accept-ao-mismatch-connection {11589            container accept-ao-mismatch-connection {
11485              must "../enable or ../disable";11590              must "../enable or ../disable";
11486              presence "Indicates a accept-ao-mismatch-connection node is configured.";11591              presence "Indicates a accept-ao-mismatch-connection node is configured.";
11487              description11592              description
11488                "Accept new connection even if AO mismatched";11593                "Accept new connection even if AO mismatched";
11489            }11594            }
11490          }11595          }
11491          container inheritance-disable {11596          container inheritance-disable {
11492            must "not(../key-chain-name)";11597            must "not(../key-chain-name)";
11493            presence "Indicates a inheritance-disable node is configured.";11598            presence "Indicates a inheritance-disable node is configured.";
11494            description11599            description
11495              "Prevent keychain from being inherited from parent";11600              "Prevent keychain from being inherited from parent";
11496          }11601          }
11497        }11602        }
11498        leaf maximum-prefix-restart-time {11603        leaf maximum-prefix-restart-time {
11499          type uint32 {11604          type uint32 {
11500            range "1..65535" {11605            range "1..65535" {
11501              description11606              description
11502                "Maximum prefix restart time (seconds)";11607                "Maximum prefix restart time (seconds)";
11503            }11608            }
11504          }11609          }
11505          description11610          description
11506            "Restart timer interval";11611            "Restart timer interval";
11507        }11612        }
11508      }11613      }
11509    }11614    }
11510    container mpls {11615    container mpls {
11511      description11616      description
11512        "Enable mpls parameters";11617        "Enable mpls parameters";
11513      container activate {11618      container activate {
11514        description11619        description
11515          "Enter mpls interfaces in BGP mpls activate mode";11620          "Enter mpls interfaces in BGP mpls activate mode";
11516        container interfaces {11621        container interfaces {
11517          description11622          description
11518            "Interface to enable mpls";11623            "Interface to enable mpls";
11519          list interface {11624          list interface {
11520            key "interface-name";11625            key "interface-name";
11521            description11626            description
11522              "Interface to enable mpls";11627              "Interface to enable mpls";
11523            leaf interface-name {11628            leaf interface-name {
11524              type xr:Interface-name;11629              type xr:Interface-name;
11525              description11630              description
11526                "Interface to enable mpls";11631                "Interface to enable mpls";
11527            }11632            }
11528          }11633          }
11529        }11634        }
11530      }11635      }
11531    }11636    }
11532    container as-league {11637    container as-league {
11533      presence "Indicates a as-league node is configured.";11638      presence "Indicates a as-league node is configured.";
11534      description11639      description
11535        "AS League command mode";11640        "AS League command mode";
11536      container peers {11641      container peers {
11537        description11642        description
11538          "AS League peers mode";11643          "AS League peers mode";
11539        list as {11644        list as {
11540          key "as-number";11645          key "as-number";
11541          description11646          description
11542            "bgp as-number";11647            "bgp as-number";
11543          leaf as-number {11648          leaf as-number {
11544            type xr:Bgp-as-number;11649            type xr:Bgp-as-number;
11545            description11650            description
11546              "bgp as-number";11651              "bgp as-number";
11547          }11652          }
11548        }11653        }
11549      }11654      }
11550    }11655    }
11551    container attribute-filter {11656    container attribute-filter {
11552      description11657      description
11553        "Attribute-filter configuration";11658        "Attribute-filter configuration";
11554      container groups {11659      container groups {
11555        description11660        description
11556          "Attribute-filter group command mode";11661          "Attribute-filter group command mode";
11557        list group {11662        list group {
11558          key "group-name";11663          key "group-name";
11559          description11664          description
11560            "Attribute-filter group command mode";11665            "Attribute-filter group command mode";
11561          leaf group-name {11666          leaf group-name {
11562            type string {11667            type string {
11563              length "1..1024" {11668              length "1..1024" {
11564                description11669                description
11565                  "Attribute-filter group name";11670                  "Attribute-filter group name";
11566              }11671              }
11567            }11672            }
11568            description11673            description
11569              "Attribute-filter group command mode";11674              "Attribute-filter group command mode";
11570          }11675          }
11571          container attributes {11676          container attributes {
11572            description11677            description
11573              "Attribute code";11678              "Attribute code";
11574            container ranges {11679            container ranges {
11575              description11680              description
11576                "Attribute code in range";11681                "Attribute code in range";
11577              list range {11682              list range {
11578                must "discard or treat-as-withdraw";11683                must "discard or treat-as-withdraw";
11579                key "start end";11684                key "start end";
11580                description11685                description
11581                  "Attribute code in range";11686                  "Attribute code in range";
11582                leaf start {11687                leaf start {
11583                  type uint32 {11688                  type uint32 {
11584                    range "4..13 | 16..255";11689                    range "4..13 | 16..255";
11585                  }11690                  }
11586                  description11691                  description
11587                    "Attribute code range start";11692                    "Attribute code range start";
11588                }11693                }
11589                leaf end {11694                leaf end {
11590                  type uint32 {11695                  type uint32 {
11591                    range "5..13 | 17..255";11696                    range "5..13 | 17..255";
11592                  }11697                  }
11593                  description11698                  description
11594                    "Attribute code range end";11699                    "Attribute code range end";
11595                }11700                }
11596                container discard {11701                container discard {
11597                  presence "Indicates a discard node is configured.";11702                  presence "Indicates a discard node is configured.";
11598                  description11703                  description
11599                    "Discard this attribute";11704                    "Discard this attribute";
11600                }11705                }
11601                container treat-as-withdraw {11706                container treat-as-withdraw {
11602                  presence "Indicates a treat-as-withdraw node is configured.";11707                  presence "Indicates a treat-as-withdraw node is configured.";
11603                  description11708                  description
11604                    "Treat the update message as a Withdraw";11709                    "Treat the update message as a Withdraw";
11605                }11710                }
11606              }11711              }
11607            }11712            }
11608            list attribute {11713            list attribute {
11609              must "discard or treat-as-withdraw";11714              must "discard or treat-as-withdraw";
11610              key "attribute-code";11715              key "attribute-code";
11611              description11716              description
11612                "Attribute code";11717                "Attribute code";
11613              leaf attribute-code {11718              leaf attribute-code {
11614                type Bgp-attribute-code;11719                type Bgp-attribute-code;
11615                description11720                description
11616                  "Attribute code. Also to be set as range start";11721                  "Attribute code. Also to be set as range start";
11617              }11722              }
11618              container discard {11723              container discard {
11619                presence "Indicates a discard node is configured.";11724                presence "Indicates a discard node is configured.";
11620                description11725                description
11621                  "Discard this attribute";11726                  "Discard this attribute";
11622              }11727              }
11623              container treat-as-withdraw {11728              container treat-as-withdraw {
11624                presence "Indicates a treat-as-withdraw node is configured.";11729                presence "Indicates a treat-as-withdraw node is configured.";
11625                description11730                description
11626                  "Treat the update message as a Withdraw";11731                  "Treat the update message as a Withdraw";
11627              }11732              }
11628            }11733            }
11629            container unrecognized {11734            container unrecognized {
11630              must "discard or treat-as-withdraw";11735              must "discard or treat-as-withdraw";
11631              presence "Indicates a unrecognized node is configured.";11736              presence "Indicates a unrecognized node is configured.";
11632              description11737              description
11633                "All unrecognized attributes";11738                "All unrecognized attributes";
11634              container discard {11739              container discard {
11635                presence "Indicates a discard node is configured.";11740                presence "Indicates a discard node is configured.";
11636                description11741                description
11637                  "Discard this attribute";11742                  "Discard this attribute";
11638              }11743              }
11639              container treat-as-withdraw {11744              container treat-as-withdraw {
11640                presence "Indicates a treat-as-withdraw node is configured.";11745                presence "Indicates a treat-as-withdraw node is configured.";
11641                description11746                description
11642                  "Treat the update message as a Withdraw";11747                  "Treat the update message as a Withdraw";
11643              }11748              }
11644            }11749            }
11645          }11750          }
11646        }11751        }
11647      }11752      }
11648    }11753    }
11649    container default-information {11754    container default-information {
11650      description11755      description
11651        "Control distribution of default information";11756        "Control distribution of default information";
11652      container originate {11757      container originate {
11653        presence "Indicates a originate node is configured.";11758        presence "Indicates a originate node is configured.";
11654        description11759        description
11655          "Distribute a default route";11760          "Distribute a default route";
11656      }11761      }
11657    }11762    }
11658    leaf default-metric {11763    leaf default-metric {
11659      type uint32 {11764      type uint32 {
11660        range "1..4294967295" {11765        range "1..4294967295" {
11661          description11766          description
11662            "Default metric";11767            "Default metric";
11663        }11768        }
11664      }11769      }
11665      description11770      description
11666        "default redistributed metric";11771        "default redistributed metric";
11667    }11772    }
11668    container socket {11773    container socket {
11669      description11774      description
11670        "set socket parameters";11775        "set socket parameters";
11671      leaf send-buffer-size {11776      leaf send-buffer-size {
11672        type uint32 {11777        type uint32 {
11673          range "4096..131072" {11778          range "4096..131072" {
11674            description11779            description
11675              "Send socket buffer size in bytes";11780              "Send socket buffer size in bytes";
11676          }11781          }
11677        }11782        }
11678        description11783        description
11679          "socket send buffer size";11784          "socket send buffer size";
11680      }11785      }
11681      leaf bgp-write-buffer-size {11786      leaf bgp-write-buffer-size {
11682        type uint32 {11787        type uint32 {
11683          range "4096..131072" {11788          range "4096..131072" {
11684            description11789            description
11685              "BGP Write buffer size in bytes";11790              "BGP Write buffer size in bytes";
11686          }11791          }
11687        }11792        }
11688        must "../send-buffer-size";11793        must "../send-buffer-size";
11689        description11794        description
11690          "BGP Write buffer size in bytes";11795          "BGP Write buffer size in bytes";
11691      }11796      }
11692      leaf receive-buffer-size {11797      leaf receive-buffer-size {
11693        type uint32 {11798        type uint32 {
11694          range "512..131072" {11799          range "512..131072" {
11695            description11800            description
11696              "Receive socket buffer size in bytes";11801              "Receive socket buffer size in bytes";
11697          }11802          }
11698        }11803        }
11699        description11804        description
11700          "socket receive buffer size";11805          "socket receive buffer size";
11701      }11806      }
11702      leaf bgp-read-buffer-size {11807      leaf bgp-read-buffer-size {
11703        type uint32 {11808        type uint32 {
11704          range "512..131072" {11809          range "512..131072" {
11705            description11810            description
11706              "BGP Read buffer size in bytes";11811              "BGP Read buffer size in bytes";
11707          }11812          }
11708        }11813        }
11709        must "../receive-buffer-size";11814        must "../receive-buffer-size";
11710        description11815        description
11711          "BGP Read buffer size in bytes";11816          "BGP Read buffer size in bytes";
11712      }11817      }
11713    }11818    }
11714    container nexthop {11819    container nexthop {
11715      description11820      description
11716        "Configure next-hop related items";11821        "Configure next-hop related items";
11717      container mpls {11822      container mpls {
11718        description11823        description
11719          "Configure next-hop related items for mpls";11824          "Configure next-hop related items for mpls";
11720        container forwarding {11825        container forwarding {
11721          description11826          description
11722            "Enable next hop mpls forwarding path";11827            "Enable next hop mpls forwarding path";
11723          container ibgp {11828          container ibgp {
11724            presence "Indicates a ibgp node is configured.";11829            presence "Indicates a ibgp node is configured.";
11725            description11830            description
11726              "Enable mpls forwarding path for ibgp learnt nexthops";11831              "Enable mpls forwarding path for ibgp learnt nexthops";
11727          }11832          }
11728        }11833        }
11729      }11834      }
11730      container resolution {11835      container resolution {
11731        description11836        description
11732          "Configure next-hop related items for resolution";11837          "Configure next-hop related items for resolution";
11733        container allow-default {11838        container allow-default {
11734          presence "Indicates a allow-default node is configured.";11839          presence "Indicates a allow-default node is configured.";
11735          description11840          description
11736            "Enable nexthops resolution using default route";11841            "Enable nexthops resolution using default route";
11737        }11842        }
11738      }11843      }
11739      container validation {11844      container validation {
11740        description11845        description
11741          "Configure next-hop reachability validation";11846          "Configure next-hop reachability validation";
11742        container color-extcomm {11847        container color-extcomm {
11743          description11848          description
11744            "Configure next-hop reachability validation for color-extcomm path";11849            "Configure next-hop reachability validation for color-extcomm path";
11745          container disable {11850          container disable {
11746            presence "Indicates a disable node is configured.";11851            presence "Indicates a disable node is configured.";
11747            description11852            description
11748              "Disable next-hop reachability validation for color-extcomm path";11853              "Disable next-hop reachability validation for color-extcomm path";
11749          }11854          }
11750          container sr-policy {11855          container sr-policy {
11751            presence "Indicates a sr-policy node is configured.";11856            presence "Indicates a sr-policy node is configured.";
11752            description11857            description
11753              "Enable BGP next-hop reachability validation by SR Policy for color-extcomm paths";11858              "Enable BGP next-hop reachability validation by SR Policy for color-extcomm paths";
11754          }11859          }
11755        }11860        }
11756      }11861      }
11757      container srte-metric {11862      container srte-metric {
11758        description11863        description
11759          "Configure BGP next-hop metric inheritance from SR policy";11864          "Configure BGP next-hop metric inheritance from SR policy";
11760        container disable {11865        container disable {
11761          presence "Indicates a disable node is configured.";11866          presence "Indicates a disable node is configured.";
11762          description11867          description
11763            "Disable BGP next-hop metric inheritance from SR policy";11868            "Disable BGP next-hop metric inheritance from SR policy";
11764        }11869        }
11765      }11870      }
11766    }11871    }
11767    container slow-peer {11872    container slow-peer {
11768      description11873      description
11769        "Configure slow-peer";11874        "Configure slow-peer";
11770      container dynamic {11875      container dynamic {
11771        must "not(../detection-disable)";11876        must "not(../detection-disable)";
11772        presence "Indicates a dynamic node is configured.";11877        presence "Indicates a dynamic node is configured.";
11773        description11878        description
11774          "Configure all neighbors as dynamic slow-peer";11879          "Configure all neighbors as dynamic slow-peer";
11775        leaf threshold {11880        leaf threshold {
11776          type uint16 {11881          type uint16 {
11777            range "120..3600" {11882            range "120..3600" {
11778              description11883              description
11779                "Threshold (in seconds) to detect neighbors as slow-peer";11884                "Threshold (in seconds) to detect neighbors as slow-peer";
11780            }11885            }
11781          }11886          }
11782          description11887          description
11783            "Threshold (in seconds) to detect neighbors as slow-peer";11888            "Threshold (in seconds) to detect neighbors as slow-peer";
11784        }11889        }
11785      }11890      }
11786      container detection-disable {11891      container detection-disable {
11787        must "not(../dynamic)";11892        must "not(../dynamic)";
11788        presence "Indicates a detection-disable node is configured.";11893        presence "Indicates a detection-disable node is configured.";
11789        description11894        description
11790          "Disable dynamic slow-peer detection";11895          "Disable dynamic slow-peer detection";
11791      }11896      }
11792    }11897    }
11793    container timers {11898    container timers {
11794      description11899      description
11795        "Adjust routing timers";11900        "Adjust routing timers";
11796      container bgp {11901      container bgp {
11797        presence "Indicates a bgp node is configured.";11902        presence "Indicates a bgp node is configured.";
11798        description11903        description
11799          "BGP timers";11904          "BGP timers";
11800        leaf keepalive-interval {11905        leaf keepalive-interval {
11801          type uint32 {11906          type uint32 {
11802            range "0..65535" {11907            range "0..65535" {
11803              description11908              description
11804                "Keepalive interval";11909                "Keepalive interval";
11805            }11910            }
11806          }11911          }
11807          mandatory true;11912          mandatory true;
11808          description11913          description
11809            "BGP timers";11914            "BGP timers";
11810        }11915        }
11811        leaf holdtime {11916        leaf holdtime {
11812          type union {11917          type union {
11813            type uint32 {11918            type uint32 {
11814              range "0" {11919              range "0" {
11815                description11920                description
11816                  "0 to disable keepalives/hold time.";11921                  "0 to disable keepalives/hold time.";
11817              }11922              }
11818            }11923            }
11819            type uint32 {11924            type uint32 {
11820              range "3..65535" {11925              range "3..65535" {
11821                description11926                description
11822                  "Holdtime.";11927                  "Holdtime.";
11823              }11928              }
11824            }11929            }
11825          }11930          }
11826          mandatory true;11931          mandatory true;
11827          description11932          description
11828            "Holdtime. Set 0 to disable keepalives/hold time.";11933            "Holdtime. Set 0 to disable keepalives/hold time.";
11829        }11934        }
11830        leaf minimum-acceptable-holdtime {11935        leaf minimum-acceptable-holdtime {
11831          type union {11936          type union {
11832            type uint32 {11937            type uint32 {
11833              range "0" {11938              range "0" {
11834                description11939                description
11835                  "0 to disable keepalives/hold time.";11940                  "0 to disable keepalives/hold time.";
11836              }11941              }
11837            }11942            }
11838            type uint32 {11943            type uint32 {
11839              range "3..65535" {11944              range "3..65535" {
11840                description11945                description
11841                  "Minimum acceptable holdtime from neighbor.";11946                  "Minimum acceptable holdtime from neighbor.";
11842              }11947              }
11843            }11948            }
11844          }11949          }
11845          description11950          description
11846            "Minimum acceptable holdtime from neighbor. Set 0 to disable keepalives/hold time.";11951            "Minimum acceptable holdtime from neighbor. Set 0 to disable keepalives/hold time.";
11847        }11952        }
11848      }11953      }
11849    }11954    }
11850    container nsr {11955    container nsr {
11851      presence "Indicates a nsr node is configured.";11956      presence "Indicates a nsr node is configured.";
11852      description11957      description
11853        "Enable non-stop-routing support for all neighbors";11958        "Enable non-stop-routing support for all neighbors";
11854      container disable {11959      container disable {
11855        presence "Indicates a disable node is configured.";11960        presence "Indicates a disable node is configured.";
11856        description11961        description
11857          "Disable non-stop-routing support for all neighbors";11962          "Disable non-stop-routing support for all neighbors";
11858      }11963      }
11859    }11964    }
11860    container ibgp {11965    container ibgp {
11861      description11966      description
11862        "Set options for iBGP peers";11967        "Set options for iBGP peers";
11863      container policy {11968      container policy {
11864        description11969        description
11865          "Set options for route-policy";11970          "Set options for route-policy";
11866        container out {11971        container out {
11867          description11972          description
11868            "Set options for outbound policy";11973            "Set options for outbound policy";
11869          container enforce-modifications {11974          container enforce-modifications {
11870            presence "Indicates a enforce-modifications node is configured.";11975            presence "Indicates a enforce-modifications node is configured.";
11871            description11976            description
11872              "Allow policy to modify all attributes";11977              "Allow policy to modify all attributes";
11873          }11978          }
11874        }11979        }
11875      }11980      }
11876    }11981    }
11877    container mvpn {11982    container mvpn {
11878      presence "Indicates a mvpn node is configured.";11983      presence "Indicates a mvpn node is configured.";
11879      description11984      description
11880        "Connect to PIM/PIM6";11985        "Connect to PIM/PIM6";
11881    }11986    }
11882    container openconfig {11987    container openconfig {
11883      description11988      description
11884        "OpenConfig network-instance model related knob";11989        "OpenConfig network-instance model related knob";
11885      container rib-telemetry {11990      container rib-telemetry {
11886        presence "Indicates a rib-telemetry node is configured.";11991        presence "Indicates a rib-telemetry node is configured.";
11887        description11992        description
11888          "Telemetry streaming enabled for OC RIB model. Also, triggers the setting up of new data structures per latest OCNI model";11993          "Telemetry streaming enabled for OC RIB model. Also, triggers the setting up of new data structures per latest OCNI model";
11889      }11994      }
11890    }11995    }
11891    container graceful-maintenance {11996    container graceful-maintenance {
11892      description11997      description
11893        "Announce routes with the g-shut community and other11998        "Announce routes with the g-shut community and other
11894         attrs configured under the neighbors. This11999         attrs configured under the neighbors. This
11895         willeighbors to de-prefer routes from this12000         willeighbors to de-prefer routes from this
11896         routhoose alternates. This allows the router12001         routhoose alternates. This allows the router
11897         to bt in or out of service gracefully.";12002         to bt in or out of service gracefully.";
11898      container activate {12003      container activate {
11899        presence "Indicates a activate node is configured.";12004        presence "Indicates a activate node is configured.";
11900        description12005        description
11901          "All neighbors with graceful-maintenance config";12006          "All neighbors with graceful-maintenance config";
11902        container all-neighbors {12007        container all-neighbors {
11903          presence "Indicates a all-neighbors node is configured.";12008          presence "Indicates a all-neighbors node is configured.";
11904          description12009          description
11905            "Also neighbors without graceful-maintenance config";12010            "Also neighbors without graceful-maintenance config";
11906        }12011        }
11907        container retain-routes {12012        container retain-routes {
11908          presence "Indicates a retain-routes node is configured.";12013          presence "Indicates a retain-routes node is configured.";
11909          description12014          description
11910            "Keep BGP routes in RIB once BGP process stops";12015            "Keep BGP routes in RIB once BGP process stops";
11911        }12016        }
11912        container interfaces {12017        container interfaces {
11913          description12018          description
11914            "Enable graceful-maintenance on all directly connected ebgp neighbors whose session is going over this interface";12019            "Enable graceful-maintenance on all directly connected ebgp neighbors whose session is going over this interface";
11915          list interface {12020          list interface {
11916            key "interface-name";12021            key "interface-name";
11917            description12022            description
11918              "Enable graceful-maintenance on all directly connected ebgp neighbors whose session is going over this interface";12023              "Enable graceful-maintenance on all directly connected ebgp neighbors whose session is going over this interface";
11919            leaf interface-name {12024            leaf interface-name {
11920              type xr:Interface-name;12025              type xr:Interface-name;
11921              description12026              description
11922                "Interface to enable graceful-maintenance";12027                "Interface to enable graceful-maintenance";
11923            }12028            }
11924          }12029          }
11925        }12030        }
11926        container locations {12031        container locations {
11927          description12032          description
11928            "Enable graceful-maintenance on all directly connected ebgp neighbors whose session is going over this line card location";12033            "Enable graceful-maintenance on all directly connected ebgp neighbors whose session is going over this line card location";
11929          list location {12034          list location {
11930            key "location-name";12035            key "location-name";
11931            description12036            description
11932              "Enable graceful-maintenance on all directly connected ebgp neighbors whose session is going over this line card location";12037              "Enable graceful-maintenance on all directly connected ebgp neighbors whose session is going over this line card location";
11933            leaf location-name {12038            leaf location-name {
11934              type xr:Node-id;12039              type xr:Node-id;
11935              description12040              description
11936                "Line card location to enable graceful-maintenance";12041                "Line card location to enable graceful-maintenance";
11937            }12042            }
11938          }12043          }
11939        }12044        }
11940      }12045      }
11941    }12046    }
11942    container optimal-route-reflection {12047    container optimal-route-reflection {
11943      description12048      description
11944        "Configure optimal-route-reflection group";12049        "Configure optimal-route-reflection group";
11945      container ipv4 {12050      container ipv4 {
11946        description12051        description
11947          "IPv4 ORR group";12052          "IPv4 ORR group";
11948        list orr-group {12053        list orr-group {
11949          key "orr-group-name";12054          key "orr-group-name";
11950          description12055          description
11951            "ORR group name - maximum 32 characters";12056            "ORR group name - maximum 32 characters";
11952          leaf orr-group-name {12057          leaf orr-group-name {
11953            type string {12058            type string {
11954              length "1..32" {12059              length "1..32" {
11955                description12060                description
11956                  "ORR group name - maximum 32 characters";12061                  "ORR group name - maximum 32 characters";
11957              }12062              }
11958            }12063            }
11959            description12064            description
11960              "ORR group name - maximum 32 characters";12065              "ORR group name - maximum 32 characters";
11961          }12066          }
11962          leaf primary-address {12067          leaf primary-address {
11963            type inet:ipv4-address-no-zone;12068            type inet:ipv4-address-no-zone;
11964            mandatory true;12069            mandatory true;
11965            description12070            description
11966              "IPv4 primary address";12071              "IPv4 primary address";
11967          }12072          }
11968          leaf secondary-address {12073          leaf secondary-address {
11969            type inet:ipv4-address-no-zone;12074            type inet:ipv4-address-no-zone;
11970            description12075            description
11971              "IPv4 secondary address";12076              "IPv4 secondary address";
11972          }12077          }
11973          leaf tertiary-address {12078          leaf tertiary-address {
11974            type inet:ipv4-address-no-zone;12079            type inet:ipv4-address-no-zone;
11975            must "../secondary-address";12080            must "../secondary-address";
11976            description12081            description
11977              "IPv4 tertiary address";12082              "IPv4 tertiary address";
11978          }12083          }
11979          leaf flex-algo {12084          leaf flex-algo {
11980            type uint32 {12085            type uint32 {
11981              range "128..255" {12086              range "128..255" {
11982                description12087                description
11983                  "Flexiable Algorithm value";12088                  "Flexiable Algorithm value";
11984              }12089              }
11985            }12090            }
11986            description12091            description
11987              "Flexible Algorithm";12092              "Flexible Algorithm";
11988          }12093          }
11989          leaf route-policy {12094          leaf route-policy {
11990            type xr:Route-policy-name;12095            type xr:Route-policy-name;
11991            description12096            description
11992              "Route-policy for additional paths selection";12097              "Route-policy for additional paths selection";
11993          }12098          }
11994        }12099        }
11995      }12100      }
11996      container ipv6 {12101      container ipv6 {
11997        description12102        description
11998          "IPv6 ORR group";12103          "IPv6 ORR group";
11999        list orr-group {12104        list orr-group {
12000          key "orr-group-name";12105          key "orr-group-name";
12001          description12106          description
12002            "ORR group name - maximum 32 characters";12107            "ORR group name - maximum 32 characters";
12003          leaf orr-group-name {12108          leaf orr-group-name {
12004            type string {12109            type string {
12005              length "1..32" {12110              length "1..32" {
12006                description12111                description
12007                  "ORR group name - maximum 32 characters";12112                  "ORR group name - maximum 32 characters";
12008              }12113              }
12009            }12114            }
12010            description12115            description
12011              "ORR group name - maximum 32 characters";12116              "ORR group name - maximum 32 characters";
12012          }12117          }
12013          leaf primary-address {12118          leaf primary-address {
12014            type inet:ipv6-address-no-zone;12119            type inet:ipv6-address-no-zone;
12015            mandatory true;12120            mandatory true;
12016            description12121            description
12017              "IPv6 primary address";12122              "IPv6 primary address";
12018          }12123          }
12019          leaf secondary-address {12124          leaf secondary-address {
12020            type inet:ipv6-address-no-zone;12125            type inet:ipv6-address-no-zone;
12021            description12126            description
12022              "IPv6 secondary address";12127              "IPv6 secondary address";
12023          }12128          }
12024          leaf tertiary-address {12129          leaf tertiary-address {
12025            type inet:ipv6-address-no-zone;12130            type inet:ipv6-address-no-zone;
12026            must "../secondary-address";12131            must "../secondary-address";
12027            description12132            description
12028              "IPv6 tertiary address";12133              "IPv6 tertiary address";
12029          }12134          }
12030          leaf route-policy {12135          leaf route-policy {
12031            type xr:Route-policy-name;12136            type xr:Route-policy-name;
12032            description12137            description
12033              "Route-policy for additional paths selection";12138              "Route-policy for additional paths selection";
12034          }12139          }
12035        }12140        }
12036      }12141      }
12037    }12142    }
12038    container bgp {12143    container bgp {
12039      description12144      description
12040        "BGP commands";12145        "BGP commands";
12041      container as-path-loopcheck {12146      container as-path-loopcheck {
12042        presence "Indicates a as-path-loopcheck node is configured.";12147        presence "Indicates a as-path-loopcheck node is configured.";
12043        description12148        description
12044          "Enable AS-path loop checking for iBGP peers";12149          "Enable AS-path loop checking for iBGP peers";
12045      }12150      }
12046      container auto-policy-soft-reset {12151      container auto-policy-soft-reset {
12047        description12152        description
12048          "Enable automatic soft peer reset on policy reconfiguration";12153          "Enable automatic soft peer reset on policy reconfiguration";
12049        container disable {12154        container disable {
12050          presence "Indicates a disable node is configured.";12155          presence "Indicates a disable node is configured.";
12051          description12156          description
12052            "Disable automatic soft peer reset on policy reconfiguration";12157            "Disable automatic soft peer reset on policy reconfiguration";
12053        }12158        }
12054      }12159      }
12055      container bestpath {12160      container bestpath {
12056        description12161        description
12057          "Change default route selection criteria";12162          "Change default route selection criteria";
12058        container as-path {12163        container as-path {
12059          description12164          description
12060            "AS path length";12165            "AS path length";
12061          container ignore {12166          container ignore {
12062            presence "Indicates a ignore node is configured.";12167            presence "Indicates a ignore node is configured.";
12063            description12168            description
12064              "Ignore as-path length";12169              "Ignore as-path length";
12065          }12170          }
12066          container multipath-relax {12171          container multipath-relax {
12067            presence "Indicates a multipath-relax node is configured.";12172            presence "Indicates a multipath-relax node is configured.";
12068            description12173            description
12069              "Relax as-path check for multipath selection";12174              "Relax as-path check for multipath selection";
12070          }12175          }
12071        }12176        }
12072        container cost-community {12177        container cost-community {
12073          description12178          description
12074            "Cost community";12179            "Cost community";
12075          container ignore {12180          container ignore {
12076            presence "Indicates a ignore node is configured.";12181            presence "Indicates a ignore node is configured.";
12077            description12182            description
12078              "Ignore cost-community comparison";12183              "Ignore cost-community comparison";
12079          }12184          }
12080        }12185        }
12081        container compare-routerid {12186        container compare-routerid {
12082          presence "Indicates a compare-routerid node is configured.";12187          presence "Indicates a compare-routerid node is configured.";
12083          description12188          description
12084            "Compare router-id for identical EBGP paths";12189            "Compare router-id for identical EBGP paths";
12085        }12190        }
12086        container aigp {12191        container aigp {
12087          description12192          description
12088            "AIGP attribute";12193            "AIGP attribute";
12089          container ignore {12194          container ignore {
12090            presence "Indicates a ignore node is configured.";12195            presence "Indicates a ignore node is configured.";
12091            description12196            description
12092              "Ignore AIGP attribute";12197              "Ignore AIGP attribute";
12093          }12198          }
12094        }12199        }
12095        container igp-metric {12200        container igp-metric {
12096          description12201          description
12097            "IGP metric values";12202            "IGP metric values";
12098          container ignore {12203          container ignore {
12099            presence "Indicates a ignore node is configured.";12204            presence "Indicates a ignore node is configured.";
12100            description12205            description
12101              "Ignore IGP metric during path comparison";12206              "Ignore IGP metric during path comparison";
12102          }12207          }
12103          container sr-policy {12208          container sr-policy {
12104            presence "Indicates a sr-policy node is configured.";12209            presence "Indicates a sr-policy node is configured.";
12105            description12210            description
12106              "Use next-hop admin/metric from SR policy at Next Hop metric comparison stage";12211              "Use next-hop admin/metric from SR policy at Next Hop metric comparison stage";
12107          }12212          }
12108        }12213        }
12109        container med {12214        container med {
12110          description12215          description
12111            "MED related";12216            "MED related";
12112          container always {12217          container always {
12113            presence "Indicates a always node is configured.";12218            presence "Indicates a always node is configured.";
12114            description12219            description
12115              "Allow comparing MED from different neighbors";12220              "Allow comparing MED from different neighbors";
12116          }12221          }
12117          container confed {12222          container confed {
12118            presence "Indicates a confed node is configured.";12223            presence "Indicates a confed node is configured.";
12119            description12224            description
12120              "Compare MED among confederation paths";12225              "Compare MED among confederation paths";
12121          }12226          }
12122          container missing-as-worst {12227          container missing-as-worst {
12123            presence "Indicates a missing-as-worst node is configured.";12228            presence "Indicates a missing-as-worst node is configured.";
12124            description12229            description
12125              "Treat missing MED as the least preferred one";12230              "Treat missing MED as the least preferred one";
12126          }12231          }
12127        }12232        }
12128        container origin-as {12233        container origin-as {
12129          description12234          description
12130            "BGP origin-AS knobs";12235            "BGP origin-AS knobs";
12131          container use {12236          container use {
12132            description12237            description
12133              "BGP origin-AS knobs";12238              "BGP origin-AS knobs";
12134            container validity {12239            container validity {
12135              presence "Indicates a validity node is configured.";12240              presence "Indicates a validity node is configured.";
12136              description12241              description
12137                "BGP bestpath selection will use origin-AS validity";12242                "BGP bestpath selection will use origin-AS validity";
12138            }12243            }
12139          }12244          }
12140          container allow {12245          container allow {
12141            description12246            description
12142              "BGP origin-AS knobs";12247              "BGP origin-AS knobs";
12143            container invalid {12248            container invalid {
12144              presence "Indicates a invalid node is configured.";12249              presence "Indicates a invalid node is configured.";
12145              description12250              description
12146                "BGP bestpath selection will allow 'invalid' origin-AS";12251                "BGP bestpath selection will allow 'invalid' origin-AS";
12147            }12252            }
12148          }12253          }
12149        }12254        }
12150        container sr-policy {12255        container sr-policy {
12151          description12256          description
12152            "Paths over SR-policy";12257            "Paths over SR-policy";
12153          container prefer {12258          container prefer {
12154            presence "Indicates a prefer node is configured.";12259            presence "Indicates a prefer node is configured.";
12155            description12260            description
12156              "Consider only paths over SR Policy for bestpath selection, eBGP no-color eligible";12261              "Consider only paths over SR Policy for bestpath selection, eBGP no-color eligible";
12157          }12262          }
12158          container force {12263          container force {
12159            must "not(../prefer)";12264            must "not(../prefer)";
12160            presence "Indicates a force node is configured.";12265            presence "Indicates a force node is configured.";
12161            description12266            description
12162              "Consider only paths over SR Policy for bestpath selection, eBGP no-color ineligible";12267              "Consider only paths over SR Policy for bestpath selection, eBGP no-color ineligible";
12163          }12268          }
12164        }12269        }
12165      }12270      }
12166      container cluster-id {12271      container cluster-id {
12167        description12272        description
12168          "Configure Route-Reflector Cluster-id";12273          "Configure Route-Reflector Cluster-id";
12169        leaf route-reflector-cluster-id {12274        leaf route-reflector-cluster-id {
12170          type uint32 {12275          type uint32 {
12171            range "1..4294967295" {12276            range "1..4294967295" {
12172              description12277              description
12173                "Route-Reflector Cluster-id as 32 bit quantity";12278                "Route-Reflector Cluster-id as 32 bit quantity";
12174            }12279            }
12175          }12280          }
12176          description12281          description
12177            "Route-Reflector Cluster-id as 32 bit quantity";12282            "Route-Reflector Cluster-id as 32 bit quantity";
12178        }12283        }
12179        leaf ip-address {12284        leaf ip-address {
12180          type inet:ipv4-address-no-zone;12285          type inet:ipv4-address-no-zone;
12181          description12286          description
12182            "configure this node";12287            "configure this node";
12183        }12288        }
12184      }12289      }
12185      container confederation {12290      container confederation {
12186        description12291        description
12187          "AS confederation parameters";12292          "AS confederation parameters";
12188        container identifier {12293        container identifier {
12189          description12294          description
12190            "Set routing domain confederation AS";12295            "Set routing domain confederation AS";
12191          leaf as {12296          leaf as {
12192            type xr:Bgp-as-number;12297            type xr:Bgp-as-number;
12193            description12298            description
12194              "bgp as-number";12299              "bgp as-number";
12195          }12300          }
12196        }12301        }
12197        list peers {12302        list peers {
12198          key "peer-as-number";12303          key "peer-as-number";
12199          description12304          description
12200            "Enter peer ASs in BGP confederation mode";12305            "Enter peer ASs in BGP confederation mode";
12201          leaf peer-as-number {12306          leaf peer-as-number {
12202            type xr:Bgp-as-number;12307            type xr:Bgp-as-number;
12203            description12308            description
12204              "bgp as-number";12309              "bgp as-number";
12205          }12310          }
12206        }12311        }
12207      }12312      }
12208      container default {12313      container default {
12209        description12314        description
12210          "Configure default value";12315          "Configure default value";
12211        leaf local-preference {12316        leaf local-preference {
12212          type uint32 {12317          type uint32 {
12213            range "0..4294967295" {12318            range "0..4294967295" {
12214              description12319              description
12215                "Higher = more preferred";12320                "Higher = more preferred";
12216            }12321            }
12217          }12322          }
12218          description12323          description
12219            "Local preference";12324            "Local preference";
12220        }12325        }
12221      }12326      }
12222      container enforce-first-as {12327      container enforce-first-as {
12223        description12328        description
12224          "Enforce the first AS for EBGP routes";12329          "Enforce the first AS for EBGP routes";
12225        container disable {12330        container disable {
12226          presence "Indicates a disable node is configured.";12331          presence "Indicates a disable node is configured.";
12227          description12332          description
12228            "Disable";12333            "Disable";
12229        }12334        }
12230      }12335      }
12231      container fast-external-fallover {12336      container fast-external-fallover {
12232        description12337        description
12233          "Immediately reset session if a link to a directly connected external peer goes down";12338          "Immediately reset session if a link to a directly connected external peer goes down";
12234        container disable {12339        container disable {
12235          presence "Indicates a disable node is configured.";12340          presence "Indicates a disable node is configured.";
12236          description12341          description
12237            "Disable";12342            "Disable";
12238        }12343        }
12239      }12344      }
12240      container graceful-restart {12345      container graceful-restart {
12241        presence "Indicates a graceful-restart node is configured.";12346        presence "Indicates a graceful-restart node is configured.";
12242        description12347        description
12243          "Enable Graceful Restart support";12348          "Enable Graceful Restart support";
12244        leaf purge-time {12349        leaf purge-time {
12245          type uint32 {12350          type uint32 {
12246            range "0..6000" {12351            range "0..6000" {
12247              description12352              description
12248                "Max time (seconds)";12353                "Max time (seconds)";
12249            }12354            }
12250          }12355          }
12251          description12356          description
12252            "Time before stale routes are purged.";12357            "Time before stale routes are purged.";
12253        }12358        }
12254        leaf restart-time {12359        leaf restart-time {
12255          type uint32 {12360          type uint32 {
12256            range "1..4095" {12361            range "1..4095" {
12257              description12362              description
12258                "Max time (seconds)";12363                "Max time (seconds)";
12259            }12364            }
12260          }12365          }
12261          description12366          description
12262            "Restart time advertised to neighbors";12367            "Restart time advertised to neighbors";
12263        }12368        }
12264        leaf stalepath-time {12369        leaf stalepath-time {
12265          type uint32 {12370          type uint32 {
12266            range "1..4095" {12371            range "1..4095" {
12267              description12372              description
12268                "Max time (seconds)";12373                "Max time (seconds)";
12269            }12374            }
12270          }12375          }
12271          description12376          description
12272            "Maximum time to wait for restart of GR capable peers";12377            "Maximum time to wait for restart of GR capable peers";
12273        }12378        }
12274        container graceful-reset {12379        container graceful-reset {
12275          presence "Indicates a graceful-reset node is configured.";12380          presence "Indicates a graceful-reset node is configured.";
12276          description12381          description
12277            "Reset gracefully if configuration change forces a peer reset";12382            "Reset gracefully if configuration change forces a peer reset";
12278        }12383        }
12279        container retain-nbr-routes {12384        container retain-nbr-routes {
12280          description12385          description
12281            "Retain neighbor routes when neighbor session resets if neighbor also has graceful restart disabled";12386            "Retain neighbor routes when neighbor session resets if neighbor also has graceful restart disabled";
12282          container disable {12387          container disable {
12283            presence "Indicates a disable node is configured.";12388            presence "Indicates a disable node is configured.";
12284            description12389            description
12285              "do not retain neighbor routes";12390              "do not retain neighbor routes";
12286          }12391          }
12287        }12392        }
12288      }12393      }
12289      container read-only {12394      container read-only {
12290        presence "Indicates a read-only node is configured.";12395        presence "Indicates a read-only node is configured.";
12291        description12396        description
12292          "Allow duplicate table config and disable update generation";12397          "Allow duplicate table config and disable update generation";
12293      }12398      }
12294      container install {12399      container install {
12295        description12400        description
12296          "Install diversion path to RIB/CEF";12401          "Install diversion path to RIB/CEF";
12297        container diversion {12402        container diversion {
12298          presence "Indicates a diversion node is configured.";12403          presence "Indicates a diversion node is configured.";
12299          description12404          description
12300            "Install diversion path to RIB/CEF";12405            "Install diversion path to RIB/CEF";
12301        }12406        }
12302      }12407      }
12303      container log {12408      container log {
12304        description12409        description
12305          "Log bgp info";12410          "Log bgp info";
12306        container neighbor {12411        container neighbor {
12307          description12412          description
12308            "Log neighbor state info";12413            "Log neighbor state info";
12309          container changes {12414          container changes {
12310            description12415            description
12311              "Log neighbor up/down and reset reason";12416              "Log neighbor up/down and reset reason";
12312            container disable {12417            container disable {
12313              presence "Indicates a disable node is configured.";12418              presence "Indicates a disable node is configured.";
12314              description12419              description
12315                "Disable logging";12420                "Disable logging";
12316            }12421            }
12317            container detail {12422            container detail {
12318              presence "Indicates a detail node is configured.";12423              presence "Indicates a detail node is configured.";
12319              description12424              description
12320                "Include extra detail in change messages";12425                "Include extra detail in change messages";
12321            }12426            }
12322          }12427          }
12323        }12428        }
12324        container message {12429        container message {
12325          description12430          description
12326            "Log neighbor inbound/outbound message";12431            "Log neighbor inbound/outbound message";
12327          container disable {12432          container disable {
12328            presence "Indicates a disable node is configured.";12433            presence "Indicates a disable node is configured.";
12329            description12434            description
12330              "Disable inbound and outbound message logging for all neighbors under the vrf";12435              "Disable inbound and outbound message logging for all neighbors under the vrf";
12331          }12436          }
12332        }12437        }
12333      }12438      }
12334      container multipath {12439      container multipath {
12335        description12440        description
12336          "Change multipath selection criteria";12441          "Change multipath selection criteria";
12337        container as-path {12442        container as-path {
12338          description12443          description
12339            "AS path";12444            "AS path";
12340          container ignore {12445          container ignore {
12341            description12446            description
12342              "Ignore as-path related check for multipath selection";12447              "Ignore as-path related check for multipath selection";
12343            container exact-match {12448            container exact-match {
12344              presence "Indicates a exact-match node is configured.";12449              presence "Indicates a exact-match node is configured.";
12345              description12450              description
12346                "Ignore as-path for multipath selection";12451                "Ignore as-path for multipath selection";
12347            }12452            }
12348            container onwards {12453            container onwards {
12349              presence "Indicates a onwards node is configured.";12454              presence "Indicates a onwards node is configured.";
12350              description12455              description
12351                "Ignore everything onwards as-path for multipath selection";12456                "Ignore everything onwards as-path for multipath selection";
12352            }12457            }
12353          }12458          }
12354        }12459        }
12355      }12460      }
12356      container redistribute-internal {12461      container redistribute-internal {
12357        presence "Indicates a redistribute-internal node is configured.";12462        presence "Indicates a redistribute-internal node is configured.";
12358        description12463        description
12359          "Allow redistribution of iBGP into IGPs (dangerous)";12464          "Allow redistribution of iBGP into IGPs (dangerous)";
12360      }12465      }
12361      leaf router-id {12466      leaf router-id {
12362        type inet:ipv4-address-no-zone;12467        type inet:ipv4-address-no-zone;
12363        description12468        description
12364          "Configure Router-id";12469          "Configure Router-id";
12365      }12470      }
12366      container unsafe-ebgp-policy {12471      container unsafe-ebgp-policy {
12367        presence "Indicates a unsafe-ebgp-policy node is configured.";12472        presence "Indicates a unsafe-ebgp-policy node is configured.";
12368        description12473        description
12369          "Make eBGP neighbors with no policy pass all routes";12474          "Make eBGP neighbors with no policy pass all routes";
12370      }12475      }
12371      container lpts-secure-binding {12476      container lpts-secure-binding {
12372        presence "Indicates a lpts-secure-binding node is configured.";12477        presence "Indicates a lpts-secure-binding node is configured.";
12373        description12478        description
12374          "Enable installation of LPTS secure binding for directly connected eBGP neighbor";12479          "Enable installation of LPTS secure binding for directly connected eBGP neighbor";
12375      }12480      }
12376      container update-delay {12481      container update-delay {
12377        presence "Indicates a update-delay node is configured.";12482        presence "Indicates a update-delay node is configured.";
12378        description12483        description
12379          "Set the max initial delay for sending updates";12484          "Set the max initial delay for sending updates";
12380        leaf delay {12485        leaf delay {
12381          type uint32 {12486          type uint32 {
12382            range "0..3600" {12487            range "0..3600" {
12383              description12488              description
12384                "Delay value (seconds)";12489                "Delay value (seconds)";
12385            }12490            }
12386          }12491          }
12387          mandatory true;12492          mandatory true;
12388          description12493          description
12389            "Set the max initial delay for sending updates";12494            "Set the max initial delay for sending updates";
12390        }12495        }
12391        container always {12496        container always {
12392          presence "Indicates a always node is configured.";12497          presence "Indicates a always node is configured.";
12393          description12498          description
12394            "Keepalive trigger bestpath is disabled and delay is enforced";12499            "Keepalive trigger bestpath is disabled and delay is enforced";
12395        }12500        }
12396      }12501      }
12397      leaf scan-time {12502      leaf scan-time {
12398        type uint32 {12503        type uint32 {
12399          range "5..3600" {12504          range "5..3600" {
12400            description12505            description
12401              "Scanner interval (seconds)";12506              "Scanner interval (seconds)";
12402          }12507          }
12403        }12508        }
12404        description12509        description
12405          "Configure background scanner interval for generic scanner";12510          "Configure background scanner interval for generic scanner";
12406      }12511      }
12407      container maximum {12512      container maximum {
12408        description12513        description
12409          "Maximum number that can be configured";12514          "Maximum number that can be configured";
12410        leaf neighbor {12515        leaf neighbor {
12411          type uint32 {12516          type uint32 {
12412            range "1..15000" {12517            range "1..15000" {
12413              description12518              description
12414                "Maximum number of neighbors";12519                "Maximum number of neighbors";
12415            }12520            }
12416          }12521          }
12417          description12522          description
12418            "Maximum number of neighbors that can be configured";12523            "Maximum number of neighbors that can be configured";
12419        }12524        }
12420      }12525      }
12421      container origin-as {12526      container origin-as {
12422        description12527        description
12423          "BGP origin-AS knobs";12528          "BGP origin-AS knobs";
12424        container validation {12529        container validation {
12425          description12530          description
12426            "BGP origin-AS validation knobs";12531            "BGP origin-AS validation knobs";
12427          container signal {12532          container signal {
12428            description12533            description
12429              "Signal origin-AS validity towards peers";12534              "Signal origin-AS validity towards peers";
12430            container ibgp {12535            container ibgp {
12431              presence "Indicates a ibgp node is configured.";12536              presence "Indicates a ibgp node is configured.";
12432              description12537              description
12433                "Signal origin-AS validity towards iBGP peers";12538                "Signal origin-AS validity towards iBGP peers";
12434            }12539            }
12435          }12540          }
12436          container time {12541          container time {
12437            description12542            description
12438              "Time to wait between an RPKI update and a BGP table walk";12543              "Time to wait between an RPKI update and a BGP table walk";
12439            container off {12544            container off {
12440              presence "Indicates a off node is configured.";12545              presence "Indicates a off node is configured.";
12441              description12546              description
12442                "No automatic prefix validation after an RPKI update";12547                "No automatic prefix validation after an RPKI update";
12443            }12548            }
12444            leaf prefix-validation-time {12549            leaf prefix-validation-time {
12445              type uint32 {12550              type uint32 {
12446                range "5..60" {12551                range "5..60" {
12447                  description12552                  description
12448                    "Prefix validation time (in seconds)";12553                    "Prefix validation time (in seconds)";
12449                }12554                }
12450              }12555              }
12451              description12556              description
12452                "Prefix validation time (in seconds)";12557                "Prefix validation time (in seconds)";
12453            }12558            }
12454          }12559          }
12455          container disable {12560          container disable {
12456            presence "Indicates a disable node is configured.";12561            presence "Indicates a disable node is configured.";
12457            description12562            description
12458              "Disable RPKI origin-AS validation";12563              "Disable RPKI origin-AS validation";
12459          }12564          }
12460        }12565        }
12461      }12566      }
12462    }12567    }
12463    container update {12568    container update {
12464      description12569      description
12465        "BGP Update configuration";12570        "BGP Update configuration";
12466      container out {12571      container out {
12467        description12572        description
12468          "BGP Update generation configuration";12573          "BGP Update generation configuration";
12469        container logging {12574        container logging {
12470          presence "Indicates a logging node is configured.";12575          presence "Indicates a logging node is configured.";
12471          description12576          description
12472            "Enable logging of update generation events";12577            "Enable logging of update generation events";
12473        }12578        }
12474      }12579      }
12475      leaf limit {12580      leaf limit {
12476        type uint32 {12581        type uint32 {
12477          range "16..2048" {12582          range "16..2048" {
12478            description12583            description
12479              "Update limit in MegaBytes(MB); default is 512 MB";12584              "Update limit in MegaBytes(MB); default is 512 MB";
12480          }12585          }
12481        }12586        }
12482        description12587        description
12483          "Upper bound on transient memory usage for update generation";12588          "Upper bound on transient memory usage for update generation";
12484      }12589      }
12485      container in {12590      container in {
12486        description12591        description
12487          "Inbound update message handling";12592          "Inbound update message handling";
12488        container error-handling {12593        container error-handling {
12489          description12594          description
12490            "Inbound update message error handling";12595            "Inbound update message error handling";
12491          container basic {12596          container basic {
12492            description12597            description
12493              "Inbound update message basic error handling";12598              "Inbound update message basic error handling";
12494            container ebgp {12599            container ebgp {
12495              description12600              description
12496                "Inbound update message basic error handling for EBGP neighbors";12601                "Inbound update message basic error handling for EBGP neighbors";
12497              container disable {12602              container disable {
12498                presence "Indicates a disable node is configured.";12603                presence "Indicates a disable node is configured.";
12499                description12604                description
12500                  "Disable inbound update message basic error handling for EBGP neighbors";12605                  "Disable inbound update message basic error handling for EBGP neighbors";
12501              }12606              }
12502            }12607            }
12503            container ibgp {12608            container ibgp {
12504              description12609              description
12505                "Inbound update message basic error handling for IBGP neighbors";12610                "Inbound update message basic error handling for IBGP neighbors";
12506              container disable {12611              container disable {
12507                presence "Indicates a disable node is configured.";12612                presence "Indicates a disable node is configured.";
12508                description12613                description
12509                  "Disable inbound update message basic error handling for IBGP neighbors";12614                  "Disable inbound update message basic error handling for IBGP neighbors";
12510              }12615              }
12511            }12616            }
12512          }12617          }
12513          container extended {12618          container extended {
12514            description12619            description
12515              "Inbound update message extended error handling";12620              "Inbound update message extended error handling";
12516            container ebgp {12621            container ebgp {
12517              presence "Indicates a ebgp node is configured.";12622              presence "Indicates a ebgp node is configured.";
12518              description12623              description
12519                "Inbound update message extended error handling for EBGP neighbors";12624                "Inbound update message extended error handling for EBGP neighbors";
12520            }12625            }
12521            container ibgp {12626            container ibgp {
12522              presence "Indicates a ibgp node is configured.";12627              presence "Indicates a ibgp node is configured.";
12523              description12628              description
12524                "Inbound update message extended error handling for IBGP neighbors";12629                "Inbound update message extended error handling for IBGP neighbors";
12525            }12630            }
12526          }12631          }
12527        }12632        }
12528      }12633      }
12529    }12634    }
12530    container bfd {12635    container bfd {
12531      description12636      description
12532        "Configure BFD parameters";12637        "Configure BFD parameters";
12533      leaf minimum-interval {12638      leaf minimum-interval {
12534        type uint32 {12639        type uint32 {
12535          range "3..30000" {12640          range "3..30000" {
12536            description12641            description
12537              "hello interval in milli-seconds";12642              "hello interval in milli-seconds";
12538          }12643          }
12539        }12644        }
12540        description12645        description
12541          "Hello interval";12646          "Hello interval";
12542      }12647      }
12543      leaf multiplier {12648      leaf multiplier {
12544        type uint32 {12649        type uint32 {
12545          range "2..16" {12650          range "2..16" {
12546            description12651            description
12547              "Detect multiplier";12652              "Detect multiplier";
12548          }12653          }
12549        }12654        }
12550        description12655        description
12551          "Detect multiplier";12656          "Detect multiplier";
12552      }12657      }
12553    }12658    }
12554    container as-lists {12659    container as-lists {
12555      description12660      description
12556        "List of AS numbers";12661        "List of AS numbers";
12557      list as-list {12662      list as-list {
12558        key "as-list-name";12663        key "as-list-name";
12559        description12664        description
12560          "List of AS numbers";12665          "List of AS numbers";
12561        leaf as-list-name {12666        leaf as-list-name {
12562          type xr:Cisco-ios-xr-string {12667          type xr:Cisco-ios-xr-string {
12563            length "1..1024" {12668            length "1..1024" {
12564              description12669              description
12565                "as-list name";12670                "as-list name";
12566            }12671            }
12567          }12672          }
12568          description12673          description
12569            "List of AS numbers";12674            "List of AS numbers";
12570        }12675        }
12571        list as {12676        list as {
12572          key "as-number";12677          key "as-number";
12573          description12678          description
12574            "bgp as-number";12679            "bgp as-number";
12575          leaf as-number {12680          leaf as-number {
12576            type xr:Bgp-as-number;12681            type xr:Bgp-as-number;
12577            description12682            description
12578              "bgp as-number";12683              "bgp as-number";
12579          }12684          }
12580        }12685        }
12581      }12686      }
12582    }12687    }
12583    container adjacencies {12688    container adjacencies {
12584      description12689      description
12585        "Submode to configure adjacencies in an EPE set";12690        "Submode to configure adjacencies in an EPE set";
12586      container ip-addresses {12691      container ip-addresses {
12587        description12692        description
12588          "Firsthop address of the adjacency";12693          "Firsthop address of the adjacency";
12589        list ip-address {12694        list ip-address {
12590          key "address";12695          key "address";
12591          description12696          description
12592            "Firsthop address of the adjacency";12697            "Firsthop address of the adjacency";
12593          leaf address {12698          leaf address {
12594            type inet:ip-address-no-zone;12699            type inet:ip-address-no-zone;
12595            description12700            description
12596              "Firsthop address of the adjacency";12701              "Firsthop address of the adjacency";
12597          }12702          }
12598          container peer-sets {12703          container peer-sets {
12599            description12704            description
12600              "Assign this adjacency to a peer-set used for egress peer engineering";12705              "Assign this adjacency to a peer-set used for egress peer engineering";
12601            list peer-set {12706            list peer-set {
12602              key "peer-set-id";12707              key "peer-set-id";
12603              description12708              description
12604                "Assign this adjacency to a peer-set used for egress peer engineering";12709                "Assign this adjacency to a peer-set used for egress peer engineering";
12605              leaf peer-set-id {12710              leaf peer-set-id {
12606                type uint32 {12711                type uint32 {
12607                  range "1..255" {12712                  range "1..255" {
12608                    description12713                    description
12609                      "Identity value of peer-set";12714                      "Identity value of peer-set";
12610                  }12715                  }
12611                }12716                }
12612                description12717                description
12613                  "Assign this adjacency to a peer-set used for egress peer engineering";12718                  "Assign this adjacency to a peer-set used for egress peer engineering";
12614              }12719              }
12615            }12720            }
12616          }12721          }
12617          container adjacency-sid {12722          container adjacency-sid {
12618            description12723            description
12619              "Configure SID value for this Adjacency EPE object";12724              "Configure SID value for this Adjacency EPE object";
12620            leaf index {12725            leaf index {
12621              type uint32 {12726              type uint32 {
12622                range "0..1033575" {12727                range "0..1033575" {
12623                  description12728                  description
12624                    "Segment Index to be assigned to this adjacency. The index will be off SRLB12729                    "Segment Index to be assigned to this adjacency. The index will be off SRLB
12625                     Notes the maximum index configurable in dynaminc SRLB range.12730                     Notes the maximum index configurable in dynaminc SRLB range.
12626                     Sincan be a dynamic range, actual maximum index can vary.12731                     Sincan be a dynamic range, actual maximum index can vary.
12627                     So pok at the currently configured SRLB range";12732                     So pok at the currently configured SRLB range";
12628                }12733                }
12629              }12734              }
12630              description12735              description
12631                "Segment Index value to assign. This will be off SRLB range";12736                "Segment Index value to assign. This will be off SRLB range";
12632            }12737            }
12633          }12738          }
12634        }12739        }
12635      }12740      }
12636    }12741    }
12637    container segment-routing {12742    container segment-routing {
12638      description12743      description
12639        "Enter Segment-Routing Mode";12744        "Enter Segment-Routing Mode";
12640      container srv6 {12745      container srv6 {
12641        presence "Indicates srv6 node is configured";12746        presence "Indicates srv6 node is configured";
12642        description12747        description
12643          "Configure srv6";12748          "Configure srv6";
12644        leaf locator {12749        leaf locator {
12645          type xr:Cisco-ios-xr-string {12750          type xr:Cisco-ios-xr-string {
12646            length "1..1024" {12751            length "1..1024" {
12647              description12752              description
12648                "locator name";12753                "locator name";
12649            }12754            }
12650          }12755          }
12651          description12756          description
12652            "Configure locator name";12757            "Configure locator name";
12653        }12758        }
12654        container usid {12759        container usid {
12655          description12760          description
12656            "Micro-SID configuration";12761            "Micro-SID configuration";
12657          container allocation {12762          container allocation {
12658            description12763            description
12659              "Allocation mode";12764              "Allocation mode";
12660            container wide-local-id-block {12765            container wide-local-id-block {
12661              presence "Indicates a wide-local-id-block node is configured.";12766              presence "Indicates a wide-local-id-block node is configured.";
12662              description12767              description
12663                "Wide LIB allocation";12768                "Wide LIB allocation";
12664            }12769            }
12665          }12770          }
12666        }12771        }
12667      }12772      }
12668    }12773    }
12669    container vrfs {12774    container vrfs {
12670      description12775      description
12671        "Specify a vrf name";12776        "Specify a vrf name";
12672      list vrf {12777      list vrf {
12673        key "vrf-name";12778        key "vrf-name";
12674        description12779        description
12675          "Specify a vrf name";12780          "Specify a vrf name";
12676        leaf vrf-name {12781        leaf vrf-name {
12677          type xr:Cisco-ios-xr-string {12782          type xr:Cisco-ios-xr-string {
12678            length "1..32" {12783            length "1..32" {
12679              description12784              description
12680                "VRF name - maximum length 32 characters";12785                "VRF name - maximum length 32 characters";
12681            }12786            }
12682          }12787          }
12683          description12788          description
12684            "Specify a vrf name";12789            "Specify a vrf name";
12685        }12790        }
12686        container address-families {12791        container address-families {
12687          description12792          description
12688            "Enter Address Family command mode";12793            "Enter Address Family command mode";
12689          list address-family {12794          list address-family {
12690            key "af-name";12795            key "af-name";
12691            description12796            description
12692              "Enter Address Family command mode";12797              "Enter Address Family command mode";
12693            leaf af-name {12798            leaf af-name {
12694              type Bgp-address-family;12799              type Bgp-address-family;
12695              description12800              description
12696                "Enter Address Family command mode";12801                "Enter Address Family command mode";
12697            }12802            }
12698            container distance {12803            container distance {
12699              description12804              description
12700                "Define an administrative distance";12805                "Define an administrative distance";
12701              container bgp {12806              container bgp {
12702                presence "Indicates a bgp node is configured.";12807                presence "Indicates a bgp node is configured.";
12703                description12808                description
12704                  "BGP distance";12809                  "BGP distance";
12705                leaf external-routes {12810                leaf external-routes {
12706                  type uint32 {12811                  type uint32 {
12707                    range "1..255" {12812                    range "1..255" {
12708                      description12813                      description
12709                        "Distance for routes external to the AS";12814                        "Distance for routes external to the AS";
12710                    }12815                    }
12711                  }12816                  }
12712                  mandatory true;12817                  mandatory true;
12713                  description12818                  description
12714                    "BGP distance";12819                    "BGP distance";
12715                }12820                }
12716                leaf internal-routes {12821                leaf internal-routes {
12717                  type uint32 {12822                  type uint32 {
12718                    range "1..255" {12823                    range "1..255" {
12719                      description12824                      description
12720                        "Distance for routes internal to the AS";12825                        "Distance for routes internal to the AS";
12721                    }12826                    }
12722                  }12827                  }
12723                  mandatory true;12828                  mandatory true;
12724                  description12829                  description
12725                    "Distance for routes internal to the AS";12830                    "Distance for routes internal to the AS";
12726                }12831                }
12727                leaf local-routes {12832                leaf local-routes {
12728                  type uint32 {12833                  type uint32 {
12729                    range "1..255" {12834                    range "1..255" {
12730                      description12835                      description
12731                        "Distance for local routes";12836                        "Distance for local routes";
12732                    }12837                    }
12733                  }12838                  }
12734                  mandatory true;12839                  mandatory true;
12735                  description12840                  description
12736                    "Distance for local routes";12841                    "Distance for local routes";
12737                }12842                }
12738              }12843              }
12739            }12844            }
12740            container allow {12845            container allow {
12741              description12846              description
12742                "Allow sending default originate route to VPN neighbor";12847                "Allow sending default originate route to VPN neighbor";
12743              container vpn {12848              container vpn {
12744                description12849                description
12745                  "Originate default route to VPN neighbor";12850                  "Originate default route to VPN neighbor";
12746                container default-originate {12851                container default-originate {
12747                  presence "Indicates a default-originate node is configured.";12852                  presence "Indicates a default-originate node is configured.";
12748                  description12853                  description
12749                    "Originate default route to VPN neighbor";12854                    "Originate default route to VPN neighbor";
12750                }12855                }
12751              }12856              }
12752            }12857            }
12753            container optimal-route-reflection {12858            container optimal-route-reflection {
12754              when "../af-name != 'ipv4-mvpn' and ../af-name != 'ipv6-mvpn' and ../af-name != 'ipv4-flowspec' and ../af-name != 'ipv6-flowspec' and ../af-name != 'ipv4-sr-policy' and ../af-name != 'ipv6-sr-policy'";12859              when "../af-name != 'ipv4-mvpn' and ../af-name != 'ipv6-mvpn' and ../af-name != 'ipv4-flowspec' and ../af-name != 'ipv6-flowspec' and ../af-name != 'ipv4-sr-policy' and ../af-name != 'ipv6-sr-policy'";
12755              description12860              description
12756                "Configure optimal-route-reflection group";12861                "Configure optimal-route-reflection group";
12757              list orr-group {12862              list orr-group {
12758                key "orr-group-name";12863                key "orr-group-name";
12759                description12864                description
12760                  "ORR group name - maximum 32 characters";12865                  "ORR group name - maximum 32 characters";
12761                leaf orr-group-name {12866                leaf orr-group-name {
12762                  type xr:Cisco-ios-xr-string {12867                  type xr:Cisco-ios-xr-string {
12763                    length "1..32" {12868                    length "1..32" {
12764                      description12869                      description
12765                        "ORR group name - maximum 32 characters";12870                        "ORR group name - maximum 32 characters";
12766                    }12871                    }
12767                  }12872                  }
12768                  description12873                  description
12769                    "ORR group name - maximum 32 characters";12874                    "ORR group name - maximum 32 characters";
12770                }12875                }
12771                leaf primary-address {12876                leaf primary-address {
12772                  type inet:ip-address-no-zone;12877                  type inet:ip-address-no-zone;
12773                  mandatory true;12878                  mandatory true;
12774                  description12879                  description
12775                    "IPv4 primary address";12880                    "IPv4 primary address";
12776                }12881                }
12777                leaf secondary-address {12882                leaf secondary-address {
12778                  type inet:ip-address-no-zone;12883                  type inet:ip-address-no-zone;
12779                  description12884                  description
12780                    "IPv4 secondary address";12885                    "IPv4 secondary address";
12781                }12886                }
12782                leaf tertiary-address {12887                leaf tertiary-address {
12783                  type inet:ip-address-no-zone;12888                  type inet:ip-address-no-zone;
12784                  must "../secondary-address";12889                  must "../secondary-address";
12785                  description12890                  description
12786                    "IPv4 tertiary address";12891                    "IPv4 tertiary address";
12787                }12892                }
12788              }12893              }
12789              list apply {12894              list apply {
12790                key "orr-group-name";12895                key "orr-group-name";
12791                description12896                description
12792                  "Apply optimal-route-reflection group";12897                  "Apply optimal-route-reflection group";
12793                leaf orr-group-name {12898                leaf orr-group-name {
12794                  type xr:Cisco-ios-xr-string {12899                  type xr:Cisco-ios-xr-string {
12795                    length "1..32" {12900                    length "1..32" {
12796                      description12901                      description
12797                        "ORR group name - maximum 32 characters";12902                        "ORR group name - maximum 32 characters";
12798                    }12903                    }
12799                  }12904                  }
12800                  description12905                  description
12801                    "ORR group name - maximum 32 characters";12906                    "ORR group name - maximum 32 characters";
12802                }12907                }
12803              }12908              }
12804              container fallback-default-bestpath {12909              container fallback-default-bestpath {
12805                presence "Indicates an ebgp node is configured.";12910                presence "Indicates an ebgp node is configured.";
12806                description12911                description
12807                  "In case none of the paths are accessible in12912                  "In case none of the paths are accessible in
12808                   an ORR table, fallback to default table bestpath12913                   an ORR table, fallback to default table bestpath
12809                   as ORR bestpath";12914                   as ORR bestpath";
12810              }12915              }
12811            }12916            }
12812            container maximum-paths {12917            container maximum-paths {
12813              when "../af-name != 'vpn4-unicast' and ../af-name != 'vpnv4-multicast' and ../af-name != 'vpnv6-unicast' and ../af-name != 'vpnv6-multicast' and ../af-name != 'vpnv4-mdt' and ../af-name != 'l2vpn-vpls-vpws' and ../af-name != 'l2vpn-evpn' and ../af-name != 'l2vpn-mspw' and ../af-name != 'ipv4-mvpn' and ../af-name != 'ipv6-mvpn' and ../af-name != 'ipv4-tunnel' and ../af-name != 'ipv4-rt-filter' and ../af-name != 'link-state-link-state' and ../af-name != 'ipv4-flowspec' and ../af-name != 'ipv6-flowspec' and ../af-name != 'vpnv4-flowspec' and ../af-name != 'vpnv6-flowspec' and ../af-name != 'ipv4-sr-policy' and ../af-name != 'ipv6-sr-policy'";12918              when "../af-name != 'vpn4-unicast' and ../af-name != 'vpnv4-multicast' and ../af-name != 'vpnv6-unicast' and ../af-name != 'vpnv6-multicast' and ../af-name != 'vpnv4-mdt' and ../af-name != 'l2vpn-vpls-vpws' and ../af-name != 'l2vpn-evpn' and ../af-name != 'l2vpn-mspw' and ../af-name != 'ipv4-mvpn' and ../af-name != 'ipv6-mvpn' and ../af-name != 'ipv4-tunnel' and ../af-name != 'ipv4-rt-filter' and ../af-name != 'link-state-link-state' and ../af-name != 'ipv4-flowspec' and ../af-name != 'ipv6-flowspec' and ../af-name != 'vpnv4-flowspec' and ../af-name != 'vpnv6-flowspec' and ../af-name != 'ipv4-sr-policy' and ../af-name != 'ipv6-sr-policy'";
12814              description12919              description
12815                "Forward packets over multiple paths";12920                "Forward packets over multiple paths";
12816              container ebgp {12921              container ebgp {
12817                presence "Indicates an ebgp node is configured.";12922                presence "Indicates an ebgp node is configured.";
12818                description12923                description
12819                  "eBGP-multipath";12924                  "eBGP-multipath";
12820                leaf multipath {12925                leaf multipath {
12821                  type uint32 {12926                  type uint32 {
12822                    range "2..128" {12927                    range "2..128" {
12823                      description12928                      description
12824                        "Number of paths (limit includes backup path)";12929                        "Number of paths (limit includes backup path)";
12825                    }12930                    }
12826                  }12931                  }
12827                  mandatory true;12932                  mandatory true;
12828                  description12933                  description
12829                    "eBGP-multipath";12934                    "eBGP-multipath";
12830                }12935                }
12831                container selective {12936                container selective {
12832                  presence "Indicates a selective node is configured.";12937                  presence "Indicates a selective node is configured.";
12833                  description12938                  description
12834                    "Allow multipaths only from marked neighbors";12939                    "Allow multipaths only from marked neighbors";
12835                }12940                }
12836                leaf route-policy {12941                leaf route-policy {
12837                  type xr:Route-policy-name;12942                  type xr:Route-policy-name;
12838                  description12943                  description
12839                    "Route-policy to select multipath";12944                    "Route-policy to select multipath";
12840                }12945                }
12841              }12946              }
12842              container eibgp {12947              container eibgp {
12843                presence "Indicates an eibgp node is configured.";12948                presence "Indicates an eibgp node is configured.";
12844                description12949                description
12845                  "eiBGP-multipath";12950                  "eiBGP-multipath";
12846                leaf multipath {12951                leaf multipath {
12847                  type uint32 {12952                  type uint32 {
12848                    range "2..128" {12953                    range "2..128" {
12849                      description12954                      description
12850                        "Number of paths (limit includes backup path)";12955                        "Number of paths (limit includes backup path)";
12851                    }12956                    }
12852                  }12957                  }
12853                  mandatory true;12958                  mandatory true;
12854                  description12959                  description
12855                    "eiBGP-multipath";12960                    "eiBGP-multipath";
12856                }12961                }
12857                container selective {12962                container selective {
12858                  presence "Indicates a selective node is configured.";12963                  presence "Indicates a selective node is configured.";
12859                  description12964                  description
12860                    "Allow multipaths only from marked neighbors";12965                    "Allow multipaths only from marked neighbors";
12861                }12966                }
12862                container equal-cost {12967                container equal-cost {
12863                  presence "Indicates a equal-cost node is configured.";12968                  presence "Indicates a equal-cost node is configured.";
12864                  description12969                  description
12865                    "Preserve equal nexthop IGP metric criteria for multipath eligiblity between same path-types (iBGP or eBGP)";12970                    "Preserve equal nexthop IGP metric criteria for multipath eligiblity between same path-types (iBGP or eBGP)";
12866                }12971                }
12867                leaf route-policy {12972                leaf route-policy {
12868                  type xr:Route-policy-name;12973                  type xr:Route-policy-name;
12869                  description12974                  description
12870                    "Route-policy to select multipath";12975                    "Route-policy to select multipath";
12871                }12976                }
12872              }12977              }
12873              container ibgp {12978              container ibgp {
12874                presence "Indicates an ibgp node is configured.";12979                presence "Indicates an ibgp node is configured.";
12875                description12980                description
12876                  "iBGP-multipath";12981                  "iBGP-multipath";
12877                leaf multipath {12982                leaf multipath {
12878                  type uint32 {12983                  type uint32 {
12879                    range "2..128" {12984                    range "2..128" {
12880                      description12985                      description
12881                        "Number of paths (limit includes backup path)";12986                        "Number of paths (limit includes backup path)";
12882                    }12987                    }
12883                  }12988                  }
12884                  mandatory true;12989                  mandatory true;
12885                  description12990                  description
12886                    "iBGP-multipath";12991                    "iBGP-multipath";
12887                }12992                }
12888                container selective {12993                container selective {
12889                  presence "Indicates a selective node is configured.";12994                  presence "Indicates a selective node is configured.";
12890                  description12995                  description
12891                    "Allow multipaths only from marked neighbors";12996                    "Allow multipaths only from marked neighbors";
12892                }12997                }
12893                container unequal-cost {12998                container unequal-cost {
12894                  presence "Indicates an unequal-cost node is configured.";12999                  presence "Indicates an unequal-cost node is configured.";
12895                  description13000                  description
12896                    "Allow multipaths to have different BGP nexthop IGP metrics ";13001                    "Allow multipaths to have different BGP nexthop IGP metrics ";
12897                  container deterministic {13002                  container deterministic {
12898                    presence "Indicates a deterministic node is configured.";13003                    presence "Indicates a deterministic node is configured.";
12899                    description13004                    description
12900                      "Deterministic Multipath selection primarily on IGP metric order";13005                      "Deterministic Multipath selection primarily on IGP metric order";
12901                  }13006                  }
12902                }13007                }
12903                leaf route-policy {13008                leaf route-policy {
12904                  type xr:Route-policy-name;13009                  type xr:Route-policy-name;
12905                  description13010                  description
12906                    "Route-policy to select multipath";13011                    "Route-policy to select multipath";
12907                }13012                }
12908              }13013              }
12909            }13014            }
12910            container additional-paths {13015            container additional-paths {
12911              when "../af-name != 'ipv4-multicast' and ../af-name != 'ipv6-multicast' and ../af-name != 'ipv4-mdt' and ../af-name != 'l2vpn-vpls-vpws' and ../af-name != 'ipv4-tunnel'";13016              when "../af-name != 'ipv4-multicast' and ../af-name != 'ipv6-multicast' and ../af-name != 'ipv4-mdt' and ../af-name != 'l2vpn-vpls-vpws' and ../af-name != 'ipv4-tunnel'";
12912              description13017              description
12913                "Additional paths configuration";13018                "Additional paths configuration";
12914              container send {13019              container send {
12915                presence "Indicates a send node is configured.";13020                presence "Indicates a send node is configured.";
12916                description13021                description
12917                  "Additional paths Send capability";13022                  "Additional paths Send capability";
12918                container disable {13023                container disable {
12919                  presence "Indicates a disable node is configured.";13024                  presence "Indicates a disable node is configured.";
12920                  description13025                  description
12921                    "Do not advertise additional paths Send capability";13026                    "Do not advertise additional paths Send capability";
12922                }13027                }
12923              }13028              }
12924              container receive {13029              container receive {
12925                presence "Indicates a receive node is configured.";13030                presence "Indicates a receive node is configured.";
12926                description13031                description
12927                  "Additional paths Receive capability";13032                  "Additional paths Receive capability";
12928                container disable {13033                container disable {
12929                  presence "Indicates a disable node is configured.";13034                  presence "Indicates a disable node is configured.";
12930                  description13035                  description
12931                    "Do not advertise additional paths Receive capability";13036                    "Do not advertise additional paths Receive capability";
12932                }13037                }
12933              }13038              }
12934              container selection {13039              container selection {
12935                description13040                description
12936                  "Additional paths selection";13041                  "Additional paths selection";
12937                container disable {13042                container disable {
12938                  presence "Indicates a disable node is configured.";13043                  presence "Indicates a disable node is configured.";
12939                  description13044                  description
12940                    "Disable additional paths selection";13045                    "Disable additional paths selection";
12941                }13046                }
12942                leaf route-policy {13047                leaf route-policy {
12943                  type xr:Route-policy-name;13048                  type xr:Route-policy-name;
12944                  description13049                  description
12945                    "Route-policy for additional paths selection";13050                    "Route-policy for additional paths selection";
12946                }13051                }
12947              }13052              }
12948              container advertise-limit {13053              container advertise-limit {
12949                description13054                description
12950                  "Limit the number of paths to be advertised (default 32)";13055                  "Limit the number of paths to be advertised (default 32)";
12951                container disable {13056                container disable {
12952                  presence "Indicates a disable node is configured.";13057                  presence "Indicates a disable node is configured.";
12953                  description13058                  description
12954                    "Disable advertise-limit for this vrf address-family";13059                    "Disable advertise-limit for this vrf address-family";
12955                }13060                }
12956                leaf advertise-path-limit-value {13061                leaf advertise-path-limit-value {
12957                  type uint32 {13062                  type uint32 {
12958                    range "33..96" {13063                    range "33..96" {
12959                      description13064                      description
12960                        "Advertise path limit value";13065                        "Advertise path limit value";
12961                    }13066                    }
12962                  }13067                  }
12963                  description13068                  description
12964                    "Advertise path limit value";13069                    "Advertise path limit value";
12965                }13070                }
12966              }13071              }
12967            }13072            }
12968            container route-target {13073            container route-target {
12969              description13074              description
12970                "Route target RIB installation";13075                "Route target RIB installation";
12971              container download {13076              container download {
12972                presence "Indicates a download node is configured.";13077                presence "Indicates a download node is configured.";
12973                description13078                description
12974                  "Install route-targets in RIB";13079                  "Install route-targets in RIB";
12975              }13080              }
12976            }13081            }
12977            container enable {13082            container enable {
12978              description13083              description
12979                "Enable commands for address-family";13084                "Enable commands for address-family";
12980              container label-mode {13085              container label-mode {
12981                presence "Indicates a label-mode node is configured.";13086                presence "Indicates a label-mode node is configured.";
12982                description13087                description
12983                  "enable label allocation for address-family.13088                  "enable label allocation for address-family.
12984                   Use only if dual mode srv6 and mpls is needed.13089                   Use only if dual mode srv6 and mpls is needed.
12985                   This will result in allocation of both,13090                   This will result in allocation of both,
12986                   label and sid for prefixes in the vrf.";13091                   label and sid for prefixes in the vrf.";
12987              }13092              }
12988            }13093            }
12989            container advertise {13094            container advertise {
12990              description13095              description
12991                "Advertise BGP path";13096                "Advertise BGP path";
12992              container best-external {13097              container best-external {
12993                presence "Indicates a best-external node is configured.";13098                presence "Indicates a best-external node is configured.";
12994                description13099                description
12995                  "Advertise best-external path";13100                  "Advertise best-external path";
12996                container labeled-unicast {13101                container labeled-unicast {
12997                  must "not(../disable)";13102                  must "not(../disable)";
12998                  presence "Indicates a labeled-unicast node is configured.";13103                  presence "Indicates a labeled-unicast node is configured.";
12999                  description13104                  description
13000                    "Limit best-external to Labeled-Unicast address family";13105                    "Limit best-external to Labeled-Unicast address family";
13001                }13106                }
13002                container disable {13107                container disable {
13003                  must "not(../labeled-unicast)";13108                  must "not(../labeled-unicast)";
13004                  presence "Indicates a disable node is configured.";13109                  presence "Indicates a disable node is configured.";
13005                  description13110                  description
13006                    "Do not advertise best-external path";13111                    "Do not advertise best-external path";
13007                }13112                }
13008              }13113              }
13009              container local-labeled-route {13114              container local-labeled-route {
13010                when "../../af-name = 'ipv4-unicast' or ../../af-name = 'ipv6-unicast'";13115                when "../../af-name = 'ipv4-unicast' or ../../af-name = 'ipv6-unicast'";
13011                description13116                description
13012                  "Advertisement of routes with local-label";13117                  "Advertisement of routes with local-label";
13013                container safi-unicast {13118                container safi-unicast {
13014                  presence "Indicates a safi-unicast node is configured.";13119                  presence "Indicates a safi-unicast node is configured.";
13015                  description13120                  description
13016                    "Advertisement of routes with local-label via Unicast SAFI";13121                    "Advertisement of routes with local-label via Unicast SAFI";
13017                  container disable {13122                  container disable {
13018                    presence "Indicates a disable node is configured.";13123                    presence "Indicates a disable node is configured.";
13019                    description13124                    description
13020                      "Do not advertise routes with local-label via Unicast SAFI";13125                      "Do not advertise routes with local-label via Unicast SAFI";
13021                  }13126                  }
13022                }13127                }
13023              }13128              }
13024            }13129            }
13025            container nexthop {13130            container nexthop {
13026              description13131              description
13027                "Nexthop";13132                "Nexthop";
13028              container resolution {13133              container resolution {
13029                description13134                description
13030                  "Nexthop resolution";13135                  "Nexthop resolution";
13031                container prefix-length {13136                container prefix-length {
13032                  description13137                  description
13033                    "Nexthop resolution prefix-length";13138                    "Nexthop resolution prefix-length";
13034                  leaf minimum {13139                  leaf minimum {
13035                    type union {13140                    type union {
13036                      type uint32 {13141                      type uint32 {
13037                        range "0..32" {13142                        range "0..32" {
13038                          description13143                          description
13039                            "Prefix-length value";13144                            "Prefix-length value";
13040                        }13145                        }
13041                      }13146                      }
13042                      type uint32 {13147                      type uint32 {
13043                        range "0..128" {13148                        range "0..128" {
13044                          description13149                          description
13045                            "Prefix-length value";13150                            "Prefix-length value";
13046                        }13151                        }
13047                      }13152                      }
13048                    }13153                    }
13049                    description13154                    description
13050                      "Set minimum prefix-length for nexthop resolution";13155                      "Set minimum prefix-length for nexthop resolution";
13051                  }13156                  }
13052                  leaf minimum-ipv6 {13157                  leaf minimum-ipv6 {
13053                    type uint32 {13158                    type uint32 {
13054                      range "0..128" {13159                      range "0..128" {
13055                        description13160                        description
13056                          "IPv6 Prefix-length value";13161                          "IPv6 Prefix-length value";
13057                      }13162                      }
13058                    }13163                    }
13059                    description13164                    description
13060                      "IPv6 Prefix-length value";13165                      "IPv6 Prefix-length value";
13061                  }13166                  }
13062                }13167                }
13063              }13168              }
13064              leaf route-policy {13169              leaf route-policy {
13065                type xr:Route-policy-name;13170                type xr:Route-policy-name;
13066                description13171                description
13067                  "Policy to filter out nexthop notification";13172                  "Policy to filter out nexthop notification";
13068              }13173              }
13069            }13174            }
13070            container networks {13175            container networks {
13071              description13176              description
13072                "Specify a network to announce via BGP";13177                "Specify a network to announce via BGP";
13073              list network {13178              list network {
13074                key "address masklength";13179                key "address masklength";
13075                description13180                description
13076                  "IPv6 network and mask or masklength";13181                  "IPv6 network and mask or masklength";
13077                leaf address {13182                leaf address {
13078                  type inet:ip-address-no-zone;13183                  type inet:ip-address-no-zone;
13079                  description13184                  description
13080                    "IPv6 network and mask or masklength";13185                    "IPv6 network and mask or masklength";
13081                }13186                }
13082                leaf masklength {13187                leaf masklength {
13083                  type uint16 {13188                  type uint16 {
13084                    range "0..128";13189                    range "0..128";
13085                  }13190                  }
13086                  description13191                  description
13087                    "Network in prefix/length format (prefix part)";13192                    "Network in prefix/length format (prefix part)";
13088                }13193                }
13089                leaf route-policy {13194                leaf route-policy {
13090                  type xr:Route-policy-name;13195                  type xr:Route-policy-name;
13091                  description13196                  description
13092                    "Route-policy to modify the attributes";13197                    "Route-policy to modify the attributes";
13093                }13198                }
13094                container backdoor {13199                container backdoor {
13095                  presence "Indicates a backdoor node is configured.";13200                  presence "Indicates a backdoor node is configured.";
13096                  description13201                  description
13097                    "Specify a BGP backdoor route";13202                    "Specify a BGP backdoor route";
13098                }13203                }
13099                container multipath {13204                container multipath {
13100                  presence "Indicates a backdoor node is configured.";13205                  presence "Indicates a backdoor node is configured.";
13101                  description13206                  description
13102                    "Enable installation of multiple paths from RIB";13207                    "Enable installation of multiple paths from RIB";
13103                }13208                }
13104              }13209              }
13105            }13210            }
13106            container aggregate-addresses {13211            container aggregate-addresses {
13107              description13212              description
13108                "Configure BGP aggregate entries";13213                "Configure BGP aggregate entries";
13109              list aggregate-address {13214              list aggregate-address {
13110                key "address masklength";13215                key "address masklength";
13111                description13216                description
13112                  "IPv6 Aggregate address and mask or masklength";13217                  "IPv6 Aggregate address and mask or masklength";
13113                leaf address {13218                leaf address {
13114                  type inet:ip-address-no-zone;13219                  type inet:ip-address-no-zone;
13115                  description13220                  description
13116                    "IPv6 Aggregate address and mask or masklength";13221                    "IPv6 Aggregate address and mask or masklength";
13117                }13222                }
13118                leaf masklength {13223                leaf masklength {
13119                  type uint16 {13224                  type uint16 {
13120                    range "0..128";13225                    range "0..128";
13121                  }13226                  }
13122                  description13227                  description
13123                    "Network in prefix/length format (prefix part)";13228                    "Network in prefix/length format (prefix part)";
13124                }13229                }
13125                container as-set {13230                container as-set {
13126                  presence "Indicates a as-set node is configured.";13231                  presence "Indicates a as-set node is configured.";
13127                  description13232                  description
13128                    "Generate AS set path information";13233                    "Generate AS set path information";
13129                }13234                }
13130                container as-confed-set {13235                container as-confed-set {
13131                  presence "Indicates a as-confed-set node is configured.";13236                  presence "Indicates a as-confed-set node is configured.";
13132                  description13237                  description
13133                    "Generate AS confed set path information";13238                    "Generate AS confed set path information";
13134                }13239                }
13135                container summary-only {13240                container summary-only {
13136                  presence "Indicates a summary-only node is configured.";13241                  presence "Indicates a summary-only node is configured.";
13137                  description13242                  description
13138                    "Filter more specific routes from updates";13243                    "Filter more specific routes from updates";
13139                }13244                }
13140                leaf route-policy {13245                leaf route-policy {
13141                  type xr:Route-policy-name;13246                  type xr:Route-policy-name;
13142                  description13247                  description
13143                    "Policy to condition advertisement, suppression, and attributes";13248                    "Policy to condition advertisement, suppression, and attributes";
13144                }13249                }
13145              }13250              }
13146            }13251            }
13147            container redistribute {13252            container redistribute {
13148              when "../af-name = 'ipv4-unicast' or ../af-name = 'ipv4-multicast' or ../af-name = 'ipv6-unicast' or ../af-name = 'ipv6-multicast'";13253              when "../af-name = 'ipv4-unicast' or ../af-name = 'ipv4-multicast' or ../af-name = 'ipv6-unicast' or ../af-name = 'ipv6-multicast'";
13149              description13254              description
13150                "Redistribute information from another routing protocol";13255                "Redistribute information from another routing protocol";
13151              list ospf {13256              list ospf {
13152                key "router-tag";13257                key "router-tag";
13153                description13258                description
13154                  "Open Shortest Path First (OSPF/OSPFv3)";13259                  "Open Shortest Path First (OSPF/OSPFv3)";
13155                leaf router-tag {13260                leaf router-tag {
13156                  type xr:Cisco-ios-xr-string {13261                  type xr:Cisco-ios-xr-string {
13157                    length "1..1024" {13262                    length "1..1024" {
13158                      description13263                      description
13159                        "OSPF router tag";13264                        "OSPF router tag";
13160                    }13265                    }
13161                  }13266                  }
13162                  description13267                  description
13163                    "Open Shortest Path First (OSPF)";13268                    "Open Shortest Path First (OSPF)";
13164                }13269                }
13165                container match {13270                container match {
13166                  presence "Indicates a match node is configured.";13271                  presence "Indicates a match node is configured.";
13167                  description13272                  description
13168                    "Redistribution of OSPF routes";13273                    "Redistribution of OSPF routes";
13169                  container internal {13274                  container internal {
13170                    presence "Indicates a internal node is configured.";13275                    presence "Indicates a internal node is configured.";
13171                    description13276                    description
13172                      "Redistribute OSPF internal routes";13277                      "Redistribute OSPF internal routes";
13173                    container external {13278                    container external {
13174                      presence "Indicates a external node is configured.";13279                      presence "Indicates a external node is configured.";
13175                      description13280                      description
13176                        "Redistribute OSPF external routes";13281                        "Redistribute OSPF external routes";
13177                      container one {13282                      container one {
13178                        presence "Indicates a one node is configured.";13283                        presence "Indicates a one node is configured.";
13179                        description13284                        description
13180                          "Redistribute external type 1 routes";13285                          "Redistribute external type 1 routes";
13181                        container nssa-external {13286                        container nssa-external {
13182                          presence "Indicates a nssa-external node is configured.";13287                          presence "Indicates a nssa-external node is configured.";
13183                          description13288                          description
13184                            "Redistribute OSPF NSSA external routes";13289                            "Redistribute OSPF NSSA external routes";
13185                          container one {13290                          container one {
13186                            presence "Indicates a one node is configured.";13291                            presence "Indicates a one node is configured.";
13187                            description13292                            description
13188                              "Redistribute NSSA external type 1 routes";13293                              "Redistribute NSSA external type 1 routes";
13189                          }13294                          }
13190                          container two {13295                          container two {
13191                            presence "Indicates a two node is configured.";13296                            presence "Indicates a two node is configured.";
13192                            description13297                            description
13193                              "Redistribute NSSA external type 2 routes";13298                              "Redistribute NSSA external type 2 routes";
13194                          }13299                          }
13195                        }13300                        }
13196                      }13301                      }
13197                      container two {13302                      container two {
13198                        presence "Indicates a two node is configured.";13303                        presence "Indicates a two node is configured.";
13199                        description13304                        description
13200                          "Redistribute external type 2 routes";13305                          "Redistribute external type 2 routes";
13201                        container nssa-external {13306                        container nssa-external {
13202                          presence "Indicates a nssa-external node is configured.";13307                          presence "Indicates a nssa-external node is configured.";
13203                          description13308                          description
13204                            "Redistribute OSPF NSSA external routes";13309                            "Redistribute OSPF NSSA external routes";
13205                          container one {13310                          container one {
13206                            presence "Indicates a one node is configured.";13311                            presence "Indicates a one node is configured.";
13207                            description13312                            description
13208                              "Redistribute NSSA external type 1 routes";13313                              "Redistribute NSSA external type 1 routes";
13209                          }13314                          }
13210                          container two {13315                          container two {
13211                            presence "Indicates a two node is configured.";13316                            presence "Indicates a two node is configured.";
13212                            description13317                            description
13213                              "Redistribute NSSA external type 2 routes";13318                              "Redistribute NSSA external type 2 routes";
13214                          }13319                          }
13215                        }13320                        }
13216                      }13321                      }
13217                      container nssa-external {13322                      container nssa-external {
13218                        presence "Indicates a nssa-external node is configured.";13323                        presence "Indicates a nssa-external node is configured.";
13219                        description13324                        description
13220                          "Redistribute OSPF NSSA external routes";13325                          "Redistribute OSPF NSSA external routes";
13221                        container one {13326                        container one {
13222                          presence "Indicates a one node is configured.";13327                          presence "Indicates a one node is configured.";
13223                          description13328                          description
13224                            "Redistribute NSSA external type 1 routes";13329                            "Redistribute NSSA external type 1 routes";
13225                        }13330                        }
13226                        container two {13331                        container two {
13227                          presence "Indicates a two node is configured.";13332                          presence "Indicates a two node is configured.";
13228                          description13333                          description
13229                            "Redistribute NSSA external type 2 routes";13334                            "Redistribute NSSA external type 2 routes";
13230                        }13335                        }
13231                      }13336                      }
13232                    }13337                    }
13233                    container nssa-external {13338                    container nssa-external {
13234                      presence "Indicates a nssa-external node is configured.";13339                      presence "Indicates a nssa-external node is configured.";
13235                      description13340                      description
13236                        "Redistribute OSPF NSSA external routes";13341                        "Redistribute OSPF NSSA external routes";
13237                      container one {13342                      container one {
13238                        presence "Indicates a one node is configured.";13343                        presence "Indicates a one node is configured.";
13239                        description13344                        description
13240                          "Redistribute NSSA external type 1 routes";13345                          "Redistribute NSSA external type 1 routes";
13241                      }13346                      }
13242                      container two {13347                      container two {
13243                        presence "Indicates a two node is configured.";13348                        presence "Indicates a two node is configured.";
13244                        description13349                        description
13245                          "Redistribute NSSA external type 2 routes";13350                          "Redistribute NSSA external type 2 routes";
13246                      }13351                      }
13247                    }13352                    }
13248                  }13353                  }
13249                  container external {13354                  container external {
13250                    presence "Indicates a external node is configured.";13355                    presence "Indicates a external node is configured.";
13251                    description13356                    description
13252                      "Redistribute OSPF external routes";13357                      "Redistribute OSPF external routes";
13253                    container one {13358                    container one {
13254                      presence "Indicates a one node is configured.";13359                      presence "Indicates a one node is configured.";
13255                      description13360                      description
13256                        "Redistribute external type 1 routes";13361                        "Redistribute external type 1 routes";
13257                      container nssa-external {13362                      container nssa-external {
13258                        presence "Indicates a nssa-external node is configured.";13363                        presence "Indicates a nssa-external node is configured.";
13259                        description13364                        description
13260                          "Redistribute OSPF NSSA external routes";13365                          "Redistribute OSPF NSSA external routes";
13261                        container one {13366                        container one {
13262                          presence "Indicates a one node is configured.";13367                          presence "Indicates a one node is configured.";
13263                          description13368                          description
13264                            "Redistribute NSSA external type 1 routes";13369                            "Redistribute NSSA external type 1 routes";
13265                        }13370                        }
13266                        container two {13371                        container two {
13267                          presence "Indicates a two node is configured.";13372                          presence "Indicates a two node is configured.";
13268                          description13373                          description
13269                            "Redistribute NSSA external type 2 routes";13374                            "Redistribute NSSA external type 2 routes";
13270                        }13375                        }
13271                      }13376                      }
13272                    }13377                    }
13273                    container two {13378                    container two {
13274                      presence "Indicates a two node is configured.";13379                      presence "Indicates a two node is configured.";
13275                      description13380                      description
13276                        "Redistribute external type 2 routes";13381                        "Redistribute external type 2 routes";
13277                      container nssa-external {13382                      container nssa-external {
13278                        presence "Indicates a nssa-external node is configured.";13383                        presence "Indicates a nssa-external node is configured.";
13279                        description13384                        description
13280                          "Redistribute OSPF NSSA external routes";13385                          "Redistribute OSPF NSSA external routes";
13281                        container one {13386                        container one {
13282                          presence "Indicates a one node is configured.";13387                          presence "Indicates a one node is configured.";
13283                          description13388                          description
13284                            "Redistribute NSSA external type 1 routes";13389                            "Redistribute NSSA external type 1 routes";
13285                        }13390                        }
13286                        container two {13391                        container two {
13287                          presence "Indicates a two node is configured.";13392                          presence "Indicates a two node is configured.";
13288                          description13393                          description
13289                            "Redistribute NSSA external type 2 routes";13394                            "Redistribute NSSA external type 2 routes";
13290                        }13395                        }
13291                      }13396                      }
13292                    }13397                    }
13293                    container nssa-external {13398                    container nssa-external {
13294                      presence "Indicates a nssa-external node is configured.";13399                      presence "Indicates a nssa-external node is configured.";
13295                      description13400                      description
13296                        "Redistribute OSPF NSSA external routes";13401                        "Redistribute OSPF NSSA external routes";
13297                      container one {13402                      container one {
13298                        presence "Indicates a one node is configured.";13403                        presence "Indicates a one node is configured.";
13299                        description13404                        description
13300                          "Redistribute NSSA external type 1 routes";13405                          "Redistribute NSSA external type 1 routes";
13301                      }13406                      }
13302                      container two {13407                      container two {
13303                        presence "Indicates a two node is configured.";13408                        presence "Indicates a two node is configured.";
13304                        description13409                        description
13305                          "Redistribute NSSA external type 2 routes";13410                          "Redistribute NSSA external type 2 routes";
13306                      }13411                      }
13307                    }13412                    }
13308                  }13413                  }
13309                  container nssa-external {13414                  container nssa-external {
13310                    presence "Indicates a nssa-external node is configured.";13415                    presence "Indicates a nssa-external node is configured.";
13311                    description13416                    description
13312                      "Redistribute OSPF NSSA external routes";13417                      "Redistribute OSPF NSSA external routes";
13313                    container one {13418                    container one {
13314                      presence "Indicates a one node is configured.";13419                      presence "Indicates a one node is configured.";
13315                      description13420                      description
13316                        "Redistribute NSSA external type 1 routes";13421                        "Redistribute NSSA external type 1 routes";
13317                    }13422                    }
13318                    container two {13423                    container two {
13319                      presence "Indicates a two node is configured.";13424                      presence "Indicates a two node is configured.";
13320                      description13425                      description
13321                        "Redistribute NSSA external type 2 routes";13426                        "Redistribute NSSA external type 2 routes";
13322                    }13427                    }
13323                  }13428                  }
13324                }13429                }
13325                container multipath {13430                container multipath {
13326                  presence "Indicates a multipath node is configured.";13431                  presence "Indicates a multipath node is configured.";
13327                  description13432                  description
13328                    "Enable installation of multiple paths from RIB";13433                    "Enable installation of multiple paths from RIB";
13329                }13434                }
13330                leaf metric {13435                leaf metric {
13331                  type uint32 {13436                  type uint32 {
13332                    range "0..4294967295" {13437                    range "0..4294967295" {
13333                      description13438                      description
13334                        "Default metric";13439                        "Default metric";
13335                    }13440                    }
13336                  }13441                  }
13337                  description13442                  description
13338                    "Metric for redistributed routes";13443                    "Metric for redistributed routes";
13339                }13444                }
13340                leaf route-policy {13445                leaf route-policy {
13341                  type xr:Route-policy-name;13446                  type xr:Route-policy-name;
13342                  description13447                  description
13343                    "Route policy reference";13448                    "Route policy reference";
13344                }13449                }
13345              }13450              }
13346              list eigrp {13451              list eigrp {
13347                key "instance-name";13452                key "instance-name";
13348                description13453                description
13349                  "Enhanced Interior Gateway Routing Protocol (EIGRP)";13454                  "Enhanced Interior Gateway Routing Protocol (EIGRP)";
13350                leaf instance-name {13455                leaf instance-name {
13351                  type xr:Cisco-ios-xr-string {13456                  type xr:Cisco-ios-xr-string {
13352                    length "1..1024" {13457                    length "1..1024" {
13353                      description13458                      description
13354                        "EIGRP instance name";13459                        "EIGRP instance name";
13355                    }13460                    }
13356                  }13461                  }
13357                  description13462                  description
13358                    "Enhanced Interior Gateway Routing Protocol (EIGRP)";13463                    "Enhanced Interior Gateway Routing Protocol (EIGRP)";
13359                }13464                }
13360                container match {13465                container match {
13361                  description13466                  description
13362                    "EIGRP route type for redistribution";13467                    "EIGRP route type for redistribution";
13363                  container internal {13468                  container internal {
13364                    presence "Indicates a internal node is configured.";13469                    presence "Indicates a internal node is configured.";
13365                    description13470                    description
13366                      "Redistribute EIGRP internal routes";13471                      "Redistribute EIGRP internal routes";
13367                    container external {13472                    container external {
13368                      presence "Indicates a external node is configured.";13473                      presence "Indicates a external node is configured.";
13369                      description13474                      description
13370                        "Redistribute EIGRP external routes";13475                        "Redistribute EIGRP external routes";
13371                    }13476                    }
13372                  }13477                  }
13373                  container external {13478                  container external {
13374                    presence "Indicates a external node is configured.";13479                    presence "Indicates a external node is configured.";
13375                    description13480                    description
13376                      "Redistribute EIGRP external routes";13481                      "Redistribute EIGRP external routes";
13377                  }13482                  }
13378                }13483                }
13379                container multipath {13484                container multipath {
13380                  presence "Indicates a multipath node is configured.";13485                  presence "Indicates a multipath node is configured.";
13381                  description13486                  description
13382                    "Enable installation of multiple paths from RIB";13487                    "Enable installation of multiple paths from RIB";
13383                }13488                }
13384                leaf metric {13489                leaf metric {
13385                  type uint32 {13490                  type uint32 {
13386                    range "0..4294967295" {13491                    range "0..4294967295" {
13387                      description13492                      description
13388                        "Default metric";13493                        "Default metric";
13389                    }13494                    }
13390                  }13495                  }
13391                  description13496                  description
13392                    "Metric for redistributed routes";13497                    "Metric for redistributed routes";
13393                }13498                }
13394                leaf route-policy {13499                leaf route-policy {
13395                  type xr:Route-policy-name;13500                  type xr:Route-policy-name;
13396                  description13501                  description
13397                    "Route policy reference";13502                    "Route policy reference";
13398                }13503                }
13399              }13504              }
13400              list application {13505              list application {
13401                key "application-name";13506                key "application-name";
13402                description13507                description
13403                  "OnePK application routes";13508                  "OnePK application routes";
13404                leaf application-name {13509                leaf application-name {
13405                  type xr:Cisco-ios-xr-string {13510                  type xr:Cisco-ios-xr-string {
13406                    length "1..1024" {13511                    length "1..1024" {
13407                      description13512                      description
13408                        "OnePK application name";13513                        "OnePK application name";
13409                    }13514                    }
13410                  }13515                  }
13411                  description13516                  description
13412                    "OnePK application name";13517                    "OnePK application name";
13413                }13518                }
13414                leaf metric {13519                leaf metric {
13415                  type uint32 {13520                  type uint32 {
13416                    range "0..4294967295" {13521                    range "0..4294967295" {
13417                      description13522                      description
13418                        "Default metric";13523                        "Default metric";
13419                    }13524                    }
13420                  }13525                  }
13421                  description13526                  description
13422                    "Metric for redistributed routes";13527                    "Metric for redistributed routes";
13423                }13528                }
13424                leaf route-policy {13529                leaf route-policy {
13425                  type xr:Route-policy-name;13530                  type xr:Route-policy-name;
13426                  description13531                  description
13427                    "Route policy reference";13532                    "Route policy reference";
13428                }13533                }
13429                container multipath {13534                container multipath {
13430                  presence "Indicates a multipath node is configured.";13535                  presence "Indicates a multipath node is configured.";
13431                  description13536                  description
13432                    "Enable installation of multiple paths from RIB";13537                    "Enable installation of multiple paths from RIB";
13433                }13538                }
13434              }13539              }
13435              container connected {13540              container connected {
13436                presence "Indicates a connected node is configured.";13541                presence "Indicates a connected node is configured.";
13437                description13542                description
13438                  "Connected routes";13543                  "Connected routes";
13439                leaf metric {13544                leaf metric {
13440                  type uint32 {13545                  type uint32 {
13441                    range "0..4294967295" {13546                    range "0..4294967295" {
13442                      description13547                      description
13443                        "Default metric";13548                        "Default metric";
13444                    }13549                    }
13445                  }13550                  }
13446                  description13551                  description
13447                    "Metric for redistributed routes";13552                    "Metric for redistributed routes";
13448                }13553                }
13449                leaf route-policy {13554                leaf route-policy {
13450                  type xr:Route-policy-name;13555                  type xr:Route-policy-name;
13451                  description13556                  description
13452                    "Route policy reference";13557                    "Route policy reference";
13453                }13558                }
13454                container multipath {13559                container multipath {
13455                  presence "Indicates a multipath node is configured.";13560                  presence "Indicates a multipath node is configured.";
13456                  description13561                  description
13457                    "Enable installation of multiple paths from RIB";13562                    "Enable installation of multiple paths from RIB";
13458                }13563                }
13459              }13564              }
13460              container lisp {13565              container lisp {
13461                presence "Indicates a lisp node is configured.";13566                presence "Indicates a lisp node is configured.";
13462                description13567                description
13463                  "Locator/ID Separation Protocol (LISP)";13568                  "Locator/ID Separation Protocol (LISP)";
13464                leaf metric {13569                leaf metric {
13465                  type uint32 {13570                  type uint32 {
13466                    range "0..4294967295" {13571                    range "0..4294967295" {
13467                      description13572                      description
13468                        "Default metric";13573                        "Default metric";
13469                    }13574                    }
13470                  }13575                  }
13471                  description13576                  description
13472                    "Metric for redistributed routes";13577                    "Metric for redistributed routes";
13473                }13578                }
13474                leaf route-policy {13579                leaf route-policy {
13475                  type xr:Route-policy-name;13580                  type xr:Route-policy-name;
13476                  description13581                  description
13477                    "Route policy reference";13582                    "Route policy reference";
13478                }13583                }
13479                container multipath {13584                container multipath {
13480                  presence "Indicates a multipath node is configured.";13585                  presence "Indicates a multipath node is configured.";
13481                  description13586                  description
13482                    "Enable installation of multiple paths from RIB";13587                    "Enable installation of multiple paths from RIB";
13483                }13588                }
13484              }13589              }
13485              container mobile {13590              container mobile {
13486                presence "Indicates a mobile node is configured.";13591                presence "Indicates a mobile node is configured.";
13487                description13592                description
13488                  "Mobile routes";13593                  "Mobile routes";
13489                leaf metric {13594                leaf metric {
13490                  type uint32 {13595                  type uint32 {
13491                    range "0..4294967295" {13596                    range "0..4294967295" {
13492                      description13597                      description
13493                        "Default metric";13598                        "Default metric";
13494                    }13599                    }
13495                  }13600                  }
13496                  description13601                  description
13497                    "Metric for redistributed routes";13602                    "Metric for redistributed routes";
13498                }13603                }
13499                leaf route-policy {13604                leaf route-policy {
13500                  type xr:Route-policy-name;13605                  type xr:Route-policy-name;
13501                  description13606                  description
13502                    "Route policy reference";13607                    "Route policy reference";
13503                }13608                }
13504                container multipath {13609                container multipath {
13505                  presence "Indicates a multipath node is configured.";13610                  presence "Indicates a multipath node is configured.";
13506                  description13611                  description
13507                    "Enable installation of multiple paths from RIB";13612                    "Enable installation of multiple paths from RIB";
13508                }13613                }
13509              }13614              }
13510              container rip {13615              container rip {
13511                when "../../af-name = 'ipv4-unicast' or ../../af-name = 'ipv4-multicast'";13616                when "../../af-name = 'ipv4-unicast' or ../../af-name = 'ipv4-multicast'";
13512                presence "Indicates a rip node is configured.";13617                presence "Indicates a rip node is configured.";
13513                description13618                description
13514                  "Routing Information Protocol (RIP)";13619                  "Routing Information Protocol (RIP)";
13515                leaf metric {13620                leaf metric {
13516                  type uint32 {13621                  type uint32 {
13517                    range "0..4294967295" {13622                    range "0..4294967295" {
13518                      description13623                      description
13519                        "Default metric";13624                        "Default metric";
13520                    }13625                    }
13521                  }13626                  }
13522                  description13627                  description
13523                    "Metric for redistributed routes";13628                    "Metric for redistributed routes";
13524                }13629                }
13525                leaf route-policy {13630                leaf route-policy {
13526                  type xr:Route-policy-name;13631                  type xr:Route-policy-name;
13527                  description13632                  description
13528                    "Route policy reference";13633                    "Route policy reference";
13529                }13634                }
13530                container multipath {13635                container multipath {
13531                  presence "Indicates a multipath node is configured.";13636                  presence "Indicates a multipath node is configured.";
13532                  description13637                  description
13533                    "Enable installation of multiple paths from RIB";13638                    "Enable installation of multiple paths from RIB";
13534                }13639                }
13535              }13640              }
13536              container static {13641              container static {
13537                presence "Indicates a static node is configured.";13642                presence "Indicates a static node is configured.";
13538                description13643                description
13539                  "Static routes";13644                  "Static routes";
13540                leaf metric {13645                leaf metric {
13541                  type uint32 {13646                  type uint32 {
13542                    range "0..4294967295" {13647                    range "0..4294967295" {
13543                      description13648                      description
13544                        "Default metric";13649                        "Default metric";
13545                    }13650                    }
13546                  }13651                  }
13547                  description13652                  description
13548                    "Metric for redistributed routes";13653                    "Metric for redistributed routes";
13549                }13654                }
13550                leaf route-policy {13655                leaf route-policy {
13551                  type xr:Route-policy-name;13656                  type xr:Route-policy-name;
13552                  description13657                  description
13553                    "Route policy reference";13658                    "Route policy reference";
13554                }13659                }
13555                container multipath {13660                container multipath {
13556                  presence "Indicates a multipath node is configured.";13661                  presence "Indicates a multipath node is configured.";
13557                  description13662                  description
13558                    "Enable installation of multiple paths from RIB";13663                    "Enable installation of multiple paths from RIB";
13559                }13664                }
13560              }13665              }
13561              container subscriber {13666              container subscriber {
13562                presence "Indicates a lisp node is configured.";13667                presence "Indicates a lisp node is configured.";
13563                description13668                description
13564                  "subscriber routes";13669                  "subscriber routes";
13565                leaf metric {13670                leaf metric {
13566                  type uint32 {13671                  type uint32 {
13567                    range "0..4294967295" {13672                    range "0..4294967295" {
13568                      description13673                      description
13569                        "Default metric";13674                        "Default metric";
13570                    }13675                    }
13571                  }13676                  }
13572                  description13677                  description
13573                    "Metric for redistributed routes";13678                    "Metric for redistributed routes";
13574                }13679                }
13575                leaf route-policy {13680                leaf route-policy {
13576                  type xr:Route-policy-name;13681                  type xr:Route-policy-name;
13577                  description13682                  description
13578                    "Route policy reference";13683                    "Route policy reference";
13579                }13684                }
13580                container multipath {13685                container multipath {
13581                  presence "Indicates a multipath node is configured.";13686                  presence "Indicates a multipath node is configured.";
13582                  description13687                  description
13583                    "Enable installation of multiple paths from RIB";13688                    "Enable installation of multiple paths from RIB";
13584                }13689                }
13585              }13690              }
13586            }13691            }
13587            leaf table-policy {13692            leaf table-policy {
13588              type xr:Route-policy-name;13693              type xr:Route-policy-name;
13589              description13694              description
13590                "Configure policy for installation of routes to RIB";13695                "Configure policy for installation of routes to RIB";
13591            }13696            }
13592            container allocate-label {13697            container allocate-label {
13593              description13698              description
13594                "Allocate label for selected prefixes";13699                "Allocate label for selected prefixes";
13595              container all {13700              container all {
13596                presence "Indicates a all node is configured.";13701                presence "Indicates a all node is configured.";
13597                description13702                description
13598                  "Allocate labels for all prefixes";13703                  "Allocate labels for all prefixes";
13599                container unlabeled-path {13704                container unlabeled-path {
13600                  presence "Indicates a unlabeled-path node is configured.";13705                  presence "Indicates a unlabeled-path node is configured.";
13601                  description13706                  description
13602                    "Allocate label for unlabeled paths too";13707                    "Allocate label for unlabeled paths too";
13603                }13708                }
13604              }13709              }
13605              leaf route-policy {13710              leaf route-policy {
13606                type xr:Route-policy-name;13711                type xr:Route-policy-name;
13607                description13712                description
13608                  "Use a route policy to select prefixes for label allocation";13713                  "Use a route policy to select prefixes for label allocation";
13609              }13714              }
13610            }13715            }
13611            container label {13716            container label {
13612              description13717              description
13613                "Label-related configuration";13718                "Label-related configuration";
13614              container mode {13719              container mode {
13615                description13720                description
13616                  "Select label mode";13721                  "Select label mode";
13617                container per-prefix {13722                container per-prefix {
13618                  when "../../../af-name = 'ipv4-unicast' or ../../../af-name = 'ipv6-unicast'";13723                  when "../../../af-name = 'ipv4-unicast' or ../../../af-name = 'ipv6-unicast'";
13619                  must "not(../per-ce or ../per-vrf or ../route-policy or ../per-vrf-46)";13724                  must "not(../per-ce or ../per-vrf or ../route-policy or ../per-vrf-46)";
13620                  presence "Indicates a per-prefix node is configured.";13725                  presence "Indicates a per-prefix node is configured.";
13621                  description13726                  description
13622                    "Set per perfix label mode";13727                    "Set per perfix label mode";
13623                }13728                }
13624                container per-ce {13729                container per-ce {
13625                  when "../../../af-name = 'ipv4-unicast' or ../../../af-name = 'ipv6-unicast'";13730                  when "../../../af-name = 'ipv4-unicast' or ../../../af-name = 'ipv6-unicast'";
13626                  must "not(../per-prefix or ../per-vrf or ../route-policy or ../per-vrf-46)";13731                  must "not(../per-prefix or ../per-vrf or ../route-policy or ../per-vrf-46)";
13627                  presence "Indicates a per-ce node is configured.";13732                  presence "Indicates a per-ce node is configured.";
13628                  description13733                  description
13629                    "Set per CE label mode";13734                    "Set per CE label mode";
13630                }13735                }
13631                container per-vrf {13736                container per-vrf {
13632                  when "../../../af-name = 'ipv4-unicast' or ../../../af-name = 'ipv6-unicast'";13737                  when "../../../af-name = 'ipv4-unicast' or ../../../af-name = 'ipv6-unicast'";
13633                  must "not(../per-prefix or ../per-ce or ../route-policy or ../per-vrf-46)";13738                  must "not(../per-prefix or ../per-ce or ../route-policy or ../per-vrf-46)";
13634                  presence "Indicates a per-vrf node is configured.";13739                  presence "Indicates a per-vrf node is configured.";
13635                  description13740                  description
13636                    "Set per VRF label mode";13741                    "Set per VRF label mode";
13637                }13742                }
13638                container per-vrf-46 {13743                container per-vrf-46 {
13639                  when "../../../af-name = 'ipv4-unicast' or ../../../af-name = 'ipv6-unicast'";13744                  when "../../../af-name = 'ipv4-unicast' or ../../../af-name = 'ipv6-unicast'";
13640                  must "not(../per-prefix or ../per-ce or ../route-policy or ../per-vrf)";13745                  must "not(../per-prefix or ../per-ce or ../route-policy or ../per-vrf)";
13641                  presence "Indicates a per-vrf-46 node is configured.";13746                  presence "Indicates a per-vrf-46 node is configured.";
13642                  description13747                  description
13643                    "Set per VRF IPv4/IPv6 label mode";13748                    "Set per VRF IPv4/IPv6 label mode";
13644                }13749                }
13645                leaf route-policy {13750                leaf route-policy {
13646                  when "../../../af-name = 'ipv4-unicast' or ../../../af-name = 'ipv6-unicast'";13751                  when "../../../af-name = 'ipv4-unicast' or ../../../af-name = 'ipv6-unicast'";
13647                  type xr:Route-policy-name;13752                  type xr:Route-policy-name;
13648                  must "not(../per-prefix or ../per-ce or ../per-vrf or ../per-vrf-46)";13753                  must "not(../per-prefix or ../per-ce or ../per-vrf or ../per-vrf-46)";
13649                  description13754                  description
13650                    "Use a route policy to select prefixes for label allocation mode";13755                    "Use a route policy to select prefixes for label allocation mode";
13651                }13756                }
13652              }13757              }
13653            }13758            }
13654            container bgp {13759            container bgp {
13655              description13760              description
13656                "BGP Commands";13761                "BGP Commands";
13657              container dampening {13762              container dampening {
13658                presence "Indicates a dampening node is configured.";13763                presence "Indicates a dampening node is configured.";
13659                description13764                description
13660                  "Enable route-flap dampening";13765                  "Enable route-flap dampening";
13661                leaf half-life-time {13766                leaf half-life-time {
13662                  type uint32 {13767                  type uint32 {
13663                    range "1..45" {13768                    range "1..45" {
13664                      description13769                      description
13665                        "Half-life time for the penalty";13770                        "Half-life time for the penalty";
13666                    }13771                    }
13667                  }13772                  }
13668                  must "not(../route-policy)";13773                  must "not(../route-policy)";
13669                  description13774                  description
13670                    "Half-life time for the penalty";13775                    "Half-life time for the penalty";
13671                }13776                }
13672                leaf start-reusing-route {13777                leaf start-reusing-route {
13673                  type uint32 {13778                  type uint32 {
13674                    range "1..20000" {13779                    range "1..20000" {
13675                      description13780                      description
13676                        "Value to start reusing a route";13781                        "Value to start reusing a route";
13677                    }13782                    }
13678                  }13783                  }
13679                  must "../half-life-time and ../start-suppressing-route";13784                  must "../half-life-time and ../start-suppressing-route";
13680                  description13785                  description
13681                    "Value to start reusing a route";13786                    "Value to start reusing a route";
13682                }13787                }
13683                leaf start-suppressing-route {13788                leaf start-suppressing-route {
13684                  type uint32 {13789                  type uint32 {
13685                    range "1..20000" {13790                    range "1..20000" {
13686                      description13791                      description
13687                        "Value to start suppressing a route";13792                        "Value to start suppressing a route";
13688                    }13793                    }
13689                  }13794                  }
13690                  must "../start-reusing-route and ../maximum-duration";13795                  must "../start-reusing-route and ../maximum-duration";
13691                  description13796                  description
13692                    "Value to start suppressing a route";13797                    "Value to start suppressing a route";
13693                }13798                }
13694                leaf maximum-duration {13799                leaf maximum-duration {
13695                  type uint32 {13800                  type uint32 {
13696                    range "1..255" {13801                    range "1..255" {
13697                      description13802                      description
13698                        "Maximum duration to suppress a stable route";13803                        "Maximum duration to suppress a stable route";
13699                    }13804                    }
13700                  }13805                  }
13701                  must "../start-suppressing-route";13806                  must "../start-suppressing-route";
13702                  description13807                  description
13703                    "Maximum duration to suppress a stable route";13808                    "Maximum duration to suppress a stable route";
13704                }13809                }
13705                leaf route-policy {13810                leaf route-policy {
13706                  type xr:Route-policy-name;13811                  type xr:Route-policy-name;
13707                  must "not(../half-life-time)";13812                  must "not(../half-life-time)";
13708                  description13813                  description
13709                    "Route policy to specify criteria for dampening";13814                    "Route policy to specify criteria for dampening";
13710                }13815                }
13711              }13816              }
13712              container attribute-download {13817              container attribute-download {
13713                presence "Indicates a attribute-download node is configured.";13818                presence "Indicates a attribute-download node is configured.";
13714                description13819                description
13715                  "Configure attribute download for this address-family";13820                  "Configure attribute download for this address-family";
13716              }13821              }
13717              container origin-as {13822              container origin-as {
13718                description13823                description
13719                  "BGP origin-AS knobs";13824                  "BGP origin-AS knobs";
13720                container validation {13825                container validation {
13721                  description13826                  description
13722                    "BGP origin-AS validation knobs";13827                    "BGP origin-AS validation knobs";
13723                  container disable {13828                  container disable {
13724                    presence "Indicates a disable node is configured.";13829                    presence "Indicates a disable node is configured.";
13725                    description13830                    description
13726                      "Disable RPKI origin-AS validation";13831                      "Disable RPKI origin-AS validation";
13727                  }13832                  }
13728                  container enable {13833                  container enable {
13729                    presence "Indicates a enable node is configured.";13834                    presence "Indicates a enable node is configured.";
13730                    description13835                    description
13731                      "Enable RPKI origin-AS validation";13836                      "Enable RPKI origin-AS validation";
13732                  }13837                  }
13733                  container signal {13838                  container signal {
13734                    description13839                    description
13735                      "Signal origin-AS validity towards peers";13840                      "Signal origin-AS validity towards peers";
13736                    container ibgp {13841                    container ibgp {
13737                      presence "Indicates a ibgp node is configured.";13842                      presence "Indicates a ibgp node is configured.";
13738                      description13843                      description
13739                        "Signal origin-AS validity towards iBGP peers";13844                        "Signal origin-AS validity towards iBGP peers";
13740                    }13845                    }
13741                  }13846                  }
13742                }13847                }
13743              }13848              }
13744              container bestpath {13849              container bestpath {
13745                description13850                description
13746                  "Change default route selection criteria";13851                  "Change default route selection criteria";
13747                container origin-as {13852                container origin-as {
13748                  description13853                  description
13749                    "BGP origin-AS knobs";13854                    "BGP origin-AS knobs";
13750                  container use {13855                  container use {
13751                    description13856                    description
13752                      "BGP origin-AS knobs";13857                      "BGP origin-AS knobs";
13753                    container validity {13858                    container validity {
13754                      presence "Indicates a validity node is configured.";13859                      presence "Indicates a validity node is configured.";
13755                      description13860                      description
13756                        "BGP bestpath selection will use origin-AS validity";13861                        "BGP bestpath selection will use origin-AS validity";
13757                    }13862                    }
13758                  }13863                  }
13759                  container allow {13864                  container allow {
13760                    description13865                    description
13761                      "BGP origin-AS knobs";13866                      "BGP origin-AS knobs";
13762                    container invalid {13867                    container invalid {
13763                      presence "Indicates a invalid node is configured.";13868                      presence "Indicates a invalid node is configured.";
13764                      description13869                      description
13765                        "BGP bestpath selection will allow 'invalid' origin-AS";13870                        "BGP bestpath selection will allow 'invalid' origin-AS";
13766                    }13871                    }
13767                  }13872                  }
13768                }13873                }
13769              }13874              }
13770            }13875            }
13771            container event {13876            container event {
13772              description13877              description
13773                "Policy for per-prefix tracing";13878                "Policy for per-prefix tracing";
13774              container prefix {13879              container prefix {
13775                description13880                description
13776                  "Policy for per-prefix tracing";13881                  "Policy for per-prefix tracing";
13777                leaf route-policy {13882                leaf route-policy {
13778                  type xr:Route-policy-name;13883                  type xr:Route-policy-name;
13779                  description13884                  description
13780                    "Policy for per-prefix tracing";13885                    "Policy for per-prefix tracing";
13781                }13886                }
13782              }13887              }
13783            }13888            }
13784            container dynamic-med {13889            container dynamic-med {
13785              description13890              description
13786                "Dynamic MED Interval";13891                "Dynamic MED Interval";
13787              leaf interval {13892              leaf interval {
13788                type uint32 {13893                type uint32 {
13789                  range "0..10" {13894                  range "0..10" {
13790                    description13895                    description
13791                      "Update generation delay in minutes";13896                      "Update generation delay in minutes";
13792                  }13897                  }
13793                }13898                }
13794                description13899                description
13795                  "Update generation delay (in minutes) after a MED change";13900                  "Update generation delay (in minutes) after a MED change";
13796              }13901              }
13797            }13902            }
13798            container weight {13903            container weight {
13799              description13904              description
13800                "Define or modify weight";13905                "Define or modify weight";
13801              container reset-on-import {13906              container reset-on-import {
13802                presence "Indicates a reset-on-import node is configured.";13907                presence "Indicates a reset-on-import node is configured.";
13803                description13908                description
13804                  "Reset weight of paths on import";13909                  "Reset weight of paths on import";
13805                container disable {13910                container disable {
13806                  presence "Indicates a disable node is configured.";13911                  presence "Indicates a disable node is configured.";
13807                  description13912                  description
13808                    "Do not reset weight of paths on import";13913                    "Do not reset weight of paths on import";
13809                }13914                }
13810              }13915              }
13811            }13916            }
13812            container as-path-loopcheck {13917            container as-path-loopcheck {
13813              description13918              description
13814                "Configure AS Path loop checking";13919                "Configure AS Path loop checking";
13815              container out {13920              container out {
13816                description13921                description
13817                  "For outbound updates";13922                  "For outbound updates";
13818                container disable {13923                container disable {
13819                  presence "Indicates a disable node is configured.";13924                  presence "Indicates a disable node is configured.";
13820                  description13925                  description
13821                    "Disable";13926                    "Disable";
13822                }13927                }
13823              }13928              }
13824            }13929            }
13825            container global-table-multicast {13930            container global-table-multicast {
13826              presence "Indicates a global-table-multicast node is configured.";13931              presence "Indicates a global-table-multicast node is configured.";
13827              description13932              description
13828                "Enable global table multicast";13933                "Enable global table multicast";
13829            }13934            }
13830            container segmented-multicast {13935            container segmented-multicast {
13831              presence "Indicates a segmented-multicast node is configured.";13936              presence "Indicates a segmented-multicast node is configured.";
13832              description13937              description
13833                "Enable segmented multicast";13938                "Enable segmented multicast";
13834            }13939            }
13835            container label-security {13940            container label-security {
13836              description13941              description
13837                "BGP Label Security";13942                "BGP Label Security";
13838              container asbr {13943              container asbr {
13839                description13944                description
13840                  "Label Security for ASBR peers";13945                  "Label Security for ASBR peers";
13841                container rpf {13946                container rpf {
13842                  presence "Indicates a rpf node is configured.";13947                  presence "Indicates a rpf node is configured.";
13843                  description13948                  description
13844                    "RPF Label Security for Option-B";13949                    "RPF Label Security for Option-B";
13845                }13950                }
13846              }13951              }
13847            }13952            }
13848            container segment-routing {13953            container segment-routing {
13849              when "../af-name = 'ipv4-unicast' or ../af-name = 'ipv6-unicast'";13954              when "../af-name = 'ipv4-unicast' or ../af-name = 'ipv6-unicast'";
13850              description13955              description
13851                "Segment Routing";13956                "Segment Routing";
13852              container srv6 {13957              container srv6 {
13853                presence "Indicates a srv6 node is configured.";13958                presence "Indicates a srv6 node is configured.";
13854                description13959                description
13855                  "Specify SRv6 configurations";13960                  "Specify SRv6 configurations";
13856                container alloc {13961                container alloc {
13857                  description13962                  description
13858                    "SID Allocation";13963                    "SID Allocation";
13859                  container mode {13964                  container mode {
13860                    description13965                    description
13861                      "SID Allocation mode";13966                      "SID Allocation mode";
13862                    container per-ce {13967                    container per-ce {
13863                      must "not(../per-vrf or ../route-policy or ../per-vrf-46)";13968                      must "not(../per-vrf or ../route-policy or ../per-vrf-46)";
13864                      presence "Indicates a per-ce node is configured.";13969                      presence "Indicates a per-ce node is configured.";
13865                      description13970                      description
13866                        "Set per CE SRv6 SID  mode";13971                        "Set per CE SRv6 SID  mode";
13867                    }13972                    }
13868                    container per-vrf {13973                    container per-vrf {
13869                      must "not(../per-ce or ../route-policy or ../per-vrf-46)";13974                      must "not(../per-ce or ../route-policy or ../per-vrf-46)";
13870                      presence "Indicates a per-vrf node is configured.";13975                      presence "Indicates a per-vrf node is configured.";
13871                      description13976                      description
13872                        "Set per VRF SRv6 SID mode";13977                        "Set per VRF SRv6 SID mode";
13873                    }13978                    }
13874                    container per-vrf-46 {13979                    container per-vrf-46 {
13875                      must "not(../per-ce or ../route-policy or ../per-vrf)";13980                      must "not(../per-ce or ../route-policy or ../per-vrf)";
13876                      presence "Indicates a per-vrf-46 node is configured.";13981                      presence "Indicates a per-vrf-46 node is configured.";
13877                      description13982                      description
13878                        "Set per VRF 46 SRv6 SID  mode";13983                        "Set per VRF 46 SRv6 SID  mode";
13879                    }13984                    }
13880                    leaf route-policy {13985                    leaf route-policy {
13881                      type xr:Route-policy-name;13986                      type xr:Route-policy-name;
13882                      must "not(../per-ce or ../per-vrf or ../per-vrf-46)";13987                      must "not(../per-ce or ../per-vrf or ../per-vrf-46)";
13883                      description13988                      description
13884                        "Use a route policy to determine the SID allocation mode and locator (if provided) for given prefix";13989                        "Use a route policy to determine the SID allocation mode and locator (if provided) for given prefix";
13885                    }13990                    }
13886                  }13991                  }
13887                }13992                }
13888                leaf locator {13993                leaf locator {
13889                  type string {13994                  type string {
13890                    length "1..1024" {13995                    length "1..1024" {
13891                      description13996                      description
13892                        "locator name";13997                        "locator name";
13893                    }13998                    }
13894                  }13999                  }
13895                  description14000                  description
13896                    "Specify locator";14001                    "Specify locator";
13897                }14002                }
13898                container usid {14003                container usid {
13899                  description14004                  description
13900                    "Micro-SID configuration";14005                    "Micro-SID configuration";
13901                  container allocation {14006                  container allocation {
13902                    description14007                    description
13903                      "Allocation mode";14008                      "Allocation mode";
13904                    container wide-local-id-block {14009                    container wide-local-id-block {
13905                      presence "Indicates a wide-local-id-block node is configured.";14010                      presence "Indicates a wide-local-id-block node is configured.";
13906                      description14011                      description
13907                        "Wide LIB allocation";14012                        "Wide LIB allocation";
13908                    }14013                    }
13909                  }14014                  }
13910                }14015                }
13911              }14016              }
13912            }14017            }
13913          }14018          }
13914        }14019        }
13915        container neighbors {14020        container neighbors {
13916          description14021          description
13917            "Specify a neighbor router";14022            "Specify a neighbor router";
13918          list neighbor {14023          list neighbor {
13919            key "neighbor-address";14024            key "neighbor-address";
13920            description14025            description
13921              "Neighbor address";14026              "Neighbor address";
13922            leaf neighbor-address {14027            leaf neighbor-address {
13923              type inet:ip-address-no-zone;14028              type inet:ip-address-no-zone;
13924              description14029              description
13925                "Neighbor address";14030                "Neighbor address";
13926            }14031            }
13927            container address-families {14032            container address-families {
13928              description14033              description
13929                "Enter Address Family command mode";14034                "Enter Address Family command mode";
13930              list address-family {14035              list address-family {
13931                key "af-name";14036                key "af-name";
13932                description14037                description
13933                  "Enter Address Family command mode";14038                  "Enter Address Family command mode";
13934                leaf af-name {14039                leaf af-name {
13935                  type Bgp-address-family;14040                  type Bgp-address-family;
13936                  description14041                  description
13937                    "Enter Address Family command mode";14042                    "Enter Address Family command mode";
13938                }14043                }
13939                container use {14044                container use {
13940                  description14045                  description
13941                    "Inherit configuration for this address-family from a group";14046                    "Inherit configuration for this address-family from a group";
13942                  leaf af-group {14047                  leaf af-group {
13943                    type string {14048                    type string {
13944                      length "1..1024" {14049                      length "1..1024" {
13945                        description14050                        description
13946                          "AF group name";14051                          "AF group name";
13947                      }14052                      }
13948                    }14053                    }
13949                    description14054                    description
13950                      "Inherit configuration for this address-family from an af-group";14055                      "Inherit configuration for this address-family from an af-group";
13951                  }14056                  }
13952                }14057                }
13953                container capability {14058                container capability {
13954                  description14059                  description
13955                    "Advertise capability to the peer";14060                    "Advertise capability to the peer";
13956                  container orf {14061                  container orf {
13957                    description14062                    description
13958                      "Advertise ORF capability to the peer";14063                      "Advertise ORF capability to the peer";
13959                    container prefix {14064                    container prefix {
13960                      description14065                      description
13961                        "Advertise address prefix ORF capability to this neighbor";14066                        "Advertise address prefix ORF capability to this neighbor";
13962                      container receive {14067                      container receive {
13963                        must "not(../send or ../both or ../none)";14068                        must "not(../send or ../both or ../none)";
13964                        presence "Indicates a receive node is configured.";14069                        presence "Indicates a receive node is configured.";
13965                        description14070                        description
13966                          "Capability to RECEIVE the ORF from this neighbor";14071                          "Capability to RECEIVE the ORF from this neighbor";
13967                      }14072                      }
13968                      container send {14073                      container send {
13969                        must "not(../receive or ../both or ../none)";14074                        must "not(../receive or ../both or ../none)";
13970                        presence "Indicates a send node is configured.";14075                        presence "Indicates a send node is configured.";
13971                        description14076                        description
13972                          "Capability to SEND the ORF to this neighbor";14077                          "Capability to SEND the ORF to this neighbor";
13973                      }14078                      }
13974                      container both {14079                      container both {
13975                        must "not(../receive or ../send or ../none)";14080                        must "not(../receive or ../send or ../none)";
13976                        presence "Indicates a both node is configured.";14081                        presence "Indicates a both node is configured.";
13977                        description14082                        description
13978                          "Capability to RECEIVE and SEND the ORF from/to this neighbor";14083                          "Capability to RECEIVE and SEND the ORF from/to this neighbor";
13979                      }14084                      }
13980                      container none {14085                      container none {
13981                        must "not(../receive or ../send or ../both)";14086                        must "not(../receive or ../send or ../both)";
13982                        presence "Indicates a none node is configured.";14087                        presence "Indicates a none node is configured.";
13983                        description14088                        description
13984                          "No capability to RECEIVE or SEND the ORF from/to this neighbor";14089                          "No capability to RECEIVE or SEND the ORF from/to this neighbor";
13985                      }14090                      }
13986                    }14091                    }
13987                  }14092                  }
13988                }14093                }
13989                container default-originate {14094                container default-originate {
13990                  presence "Indicates a default-originate node is configured.";14095                  presence "Indicates a default-originate node is configured.";
13991                  description14096                  description
13992                    "Originate default route to this neighbor";14097                    "Originate default route to this neighbor";
13993                  leaf route-policy {14098                  leaf route-policy {
13994                    type xr:Route-policy-name;14099                    type xr:Route-policy-name;
13995                    description14100                    description
13996                      "Route policy to specify criteria to originate default";14101                      "Route policy to specify criteria to originate default";
13997                  }14102                  }
13998                  container inheritance-disable {14103                  container inheritance-disable {
13999                    must "not(../route-policy)";14104                    must "not(../route-policy)";
14000                    presence "Indicates a inheritance-disable node is configured.";14105                    presence "Indicates a inheritance-disable node is configured.";
14001                    description14106                    description
14002                      "Prevent default-originate being inherited from a parent group";14107                      "Prevent default-originate being inherited from a parent group";
14003                  }14108                  }
14004                }14109                }
14005                container maximum-prefix {14110                container maximum-prefix {
14006                  presence "Indicates a maximum-prefix node is configured.";14111                  presence "Indicates a maximum-prefix node is configured.";
14007                  description14112                  description
14008                    "Maximum number of prefixes to accept from this peer";14113                    "Maximum number of prefixes to accept from this peer";
14009                  leaf prefix-limit {14114                  leaf prefix-limit {
14010                    type uint32 {14115                    type uint32 {
14011                      range "1..4294967295" {14116                      range "1..4294967295" {
14012                        description14117                        description
14013                          "maximum no. of prefix limit";14118                          "maximum no. of prefix limit";
14014                      }14119                      }
14015                    }14120                    }
14016                    mandatory true;14121                    mandatory true;
14017                    description14122                    description
14018                      "Maximum number of prefixes to accept from this peer";14123                      "Maximum number of prefixes to accept from this peer";
14019                  }14124                  }
14020                  leaf threshold {14125                  leaf threshold {
14021                    type uint32 {14126                    type uint32 {
14022                      range "1..100" {14127                      range "1..100" {
14023                        description14128                        description
14024                          "Threshold value (%) at which to generate a warning msg";14129                          "Threshold value (%) at which to generate a warning msg";
14025                      }14130                      }
14026                    }14131                    }
14027                    mandatory true;14132                    mandatory true;
14028                    description14133                    description
14029                      "Threshold value (%) at which to generate a warning msg";14134                      "Threshold value (%) at which to generate a warning msg";
14030                  }14135                  }
14031                  container warning-only {14136                  container warning-only {
14032                    presence "Indicates a warning-only node is configured.";14137                    presence "Indicates a warning-only node is configured.";
14033                    description14138                    description
14034                      "Only give warning message when limit is exceeded";14139                      "Only give warning message when limit is exceeded";
14035                  }14140                  }
14036                  leaf restart {14141                  leaf restart {
14037                    type uint32 {14142                    type uint32 {
14038                      range "1..65535" {14143                      range "1..65535" {
14039                        description14144                        description
14040                          "Time interval (min) after which peering session will be reestablished";14145                          "Time interval (min) after which peering session will be reestablished";
14041                      }14146                      }
14042                    }14147                    }
14043                    description14148                    description
14044                      "Restart time interval";14149                      "Restart time interval";
14045                  }14150                  }
14046                  container discard-extra-paths {14151                  container discard-extra-paths {
14047                    presence "Indicates a discard-extra-paths node is configured.";14152                    presence "Indicates a discard-extra-paths node is configured.";
14048                    description14153                    description
14049                      "Discard extra paths when limit is exceeded";14154                      "Discard extra paths when limit is exceeded";
14050                  }14155                  }
14051                }14156                }
14052                leaf optimal-route-reflection {14157                leaf optimal-route-reflection {
14053                  type string {14158                  type string {
14054                    length "1..32" {14159                    length "1..32" {
14055                      description14160                      description
14056                        "ORR group name - maximum 32 characters";14161                        "ORR group name - maximum 32 characters";
14057                    }14162                    }
14058                  }14163                  }
14059                  description14164                  description
14060                    "Configure optiomal-route-reflection for this neighbor";14165                    "Configure optiomal-route-reflection for this neighbor";
14061                }14166                }
14062                container next-hop-self {14167                container next-hop-self {
14063                  presence "Indicates a next-hop-self node is configured.";14168                  presence "Indicates a next-hop-self node is configured.";
14064                  description14169                  description
14065                    "Disable the next hop calculation for this neighbor";14170                    "Disable the next hop calculation for this neighbor";
14066                  container inheritance-disable {14171                  container inheritance-disable {
14067                    presence "Indicates a inheritance-disable node is configured.";14172                    presence "Indicates a inheritance-disable node is configured.";
14068                    description14173                    description
14069                      "Prevent next-hop-self from being inherited from the parent";14174                      "Prevent next-hop-self from being inherited from the parent";
14070                  }14175                  }
14071                }14176                }
14072                container next-hop-unchanged {14177                container next-hop-unchanged {
14073                  presence "Indicates a next-hop-unchanged node is configured.";14178                  presence "Indicates a next-hop-unchanged node is configured.";
14074                  description14179                  description
14075                    "Do not overwrite next hop before advertising to eBGP peers";14180                    "Do not overwrite next hop before advertising to eBGP peers";
14076                  container inheritance-disable {14181                  container inheritance-disable {
14077                    presence "Indicates a inheritance-disable node is configured.";14182                    presence "Indicates a inheritance-disable node is configured.";
14078                    description14183                    description
14079                      "Prevent next-hop-unchanged from being inherited from the parent";14184                      "Prevent next-hop-unchanged from being inherited from the parent";
14080                  }14185                  }
14081                }14186                }
14082                container slow-peer {14187                container slow-peer {
14083                  description14188                  description
14084                    "Configure this neighbor as slow-peer";14189                    "Configure this neighbor as slow-peer";
14085                  container static {14190                  container static {
14086                    must "not(../dynamic)";14191                    must "not(../dynamic)";
14087                    presence "Indicates a static node is configured.";14192                    presence "Indicates a static node is configured.";
14088                    description14193                    description
14089                      "Configure this neighbor as static slow-peer";14194                      "Configure this neighbor as static slow-peer";
14090                  }14195                  }
14091                  container dynamic {14196                  container dynamic {
14092                    must "not(../static)";14197                    must "not(../static)";
14093                    presence "Indicates a dynamic node is configured.";14198                    presence "Indicates a dynamic node is configured.";
14094                    description14199                    description
14095                      "Configure this neighbor as dynamic slow-peer";14200                      "Configure this neighbor as dynamic slow-peer";
14096                    leaf threshold {14201                    leaf threshold {
14097                      type uint16 {14202                      type uint16 {
14098                        range "120..3600" {14203                        range "120..3600" {
14099                          description14204                          description
14100                            "Threshold (in seconds) to detect this neighbor as slow-peer";14205                            "Threshold (in seconds) to detect this neighbor as slow-peer";
14101                        }14206                        }
14102                      }14207                      }
14103                      description14208                      description
14104                        "Threshold (in seconds) to detect this neighbor as slow-peer";14209                        "Threshold (in seconds) to detect this neighbor as slow-peer";
14105                    }14210                    }
14106                    container disable {14211                    container disable {
14107                      presence "Indicates a disable node is configured.";14212                      presence "Indicates a disable node is configured.";
14108                      description14213                      description
14109                        "Disable dynamic slow-peer";14214                        "Disable dynamic slow-peer";
14110                    }14215                    }
14111                  }14216                  }
14112                }14217                }
14113                container origin-as {14218                container origin-as {
14114                  description14219                  description
14115                    "BGP origin-AS knobs";14220                    "BGP origin-AS knobs";
14116                  container validation {14221                  container validation {
14117                    description14222                    description
14118                      "BGP origin-AS validation knobs";14223                      "BGP origin-AS validation knobs";
14119                    container disable {14224                    container disable {
14120                      presence "Indicates a disable node is configured.";14225                      presence "Indicates a disable node is configured.";
14121                      description14226                      description
14122                        "Disable RPKI origin-AS validation";14227                        "Disable RPKI origin-AS validation";
14123                    }14228                    }
14124                  }14229                  }
14125                }14230                }
14126                container bestpath {14231                container bestpath {
14127                  description14232                  description
14128                    "Change default route selection criteria";14233                    "Change default route selection criteria";
14129                  container origin-as {14234                  container origin-as {
14130                    description14235                    description
14131                      "BGP origin-AS knobs";14236                      "BGP origin-AS knobs";
14132                    container allow {14237                    container allow {
14133                      description14238                      description
14134                        "BGP origin-AS knobs";14239                        "BGP origin-AS knobs";
14135                      container invalid {14240                      container invalid {
14136                        presence "Indicates a invalid node is configured.";14241                        presence "Indicates a invalid node is configured.";
14137                        description14242                        description
14138                          "BGP bestpath selection will allow 'invalid' origin-AS";14243                          "BGP bestpath selection will allow 'invalid' origin-AS";
14139                      }14244                      }
14140                    }14245                    }
14141                  }14246                  }
14142                }14247                }
14143                container route-policy {14248                container route-policy {
14144                  description14249                  description
14145                    "Apply route policy to neighbor";14250                    "Apply route policy to neighbor";
14146                  leaf in {14251                  leaf in {
14147                    type xr:Route-policy-name;14252                    type xr:Route-policy-name;
14148                    description14253                    description
14149                      "Apply route policy to inbound routes";14254                      "Apply route policy to inbound routes";
14150                  }14255                  }
14151                  leaf out {14256                  leaf out {
14152                    type xr:Route-policy-name;14257                    type xr:Route-policy-name;
14153                    description14258                    description
14154                      "Apply route policy to outbound routes";14259                      "Apply route policy to outbound routes";
14155                  }14260                  }
14156                  container retention {14261                  container retention {
14157                    description14262                    description
14158                      "Apply retention policy to inbound routes";14263                      "Apply retention policy to inbound routes";
14159                    leaf route-policy-name {14264                    leaf route-policy-name {
14160                      type xr:Route-policy-name;14265                      type xr:Route-policy-name;
14161                      must "../retention-time";14266                      must "../retention-time";
14162                      description14267                      description
14163                        "Apply retention policy to inbound routes";14268                        "Apply retention policy to inbound routes";
14164                    }14269                    }
14165                    leaf retention-time {14270                    leaf retention-time {
14166                      type uint32 {14271                      type uint32 {
14167                        range "0..4294967295" {14272                        range "0..4294967295" {
14168                          description14273                          description
14169                            "Max time (seconds)";14274                            "Max time (seconds)";
14170                        }14275                        }
14171                      }14276                      }
14172                      must "../route-policy-name";14277                      must "../route-policy-name";
14173                      description14278                      description
14174                        "Retention-time for this neighbor";14279                        "Retention-time for this neighbor";
14175                    }14280                    }
14176                  }14281                  }
14177                }14282                }
14178                container orf {14283                container orf {
14179                  description14284                  description
14180                    "Specify ORF and inbound filtering criteria";14285                    "Specify ORF and inbound filtering criteria";
14181                  leaf route-policy {14286                  leaf route-policy {
14182                    type xr:Route-policy-name;14287                    type xr:Route-policy-name;
14183                    description14288                    description
14184                      "Route policy to specify ORF and inbound filter";14289                      "Route policy to specify ORF and inbound filter";
14185                  }14290                  }
14186                }14291                }
14187                container replace-private-as {14292                container replace-private-as {
14188                  presence "Indicates a replace-private-as node is configured.";14293                  presence "Indicates a replace-private-as node is configured.";
14189                  description14294                  description
14190                    "Replace private AS number from outbound updates";14295                    "Replace private AS number from outbound updates";
14191                  container internal {14296                  container internal {
14192                    description14297                    description
14193                      "remove only if all ASes in the path are private";14298                      "remove only if all ASes in the path are private";
14194                  }14299                  }
14195                }14300                }
14196                container remove-private-as {14301                container remove-private-as {
14197                  presence "Indicates a remove-private-as node is configured.";14302                  presence "Indicates a remove-private-as node is configured.";
14198                  description14303                  description
14199                    "Remove private AS number from outbound updates";14304                    "Remove private AS number from outbound updates";
14200                  container entire-aspath {14305                  container entire-aspath {
14201                    must "not(../inheritance-disable or ../internal)";14306                    must "not(../inheritance-disable or ../internal)";
14202                    presence "Indicates a entire-aspath node is configured.";14307                    presence "Indicates a entire-aspath node is configured.";
14203                    description14308                    description
14204                      "remove only if all ASes in the path are private";14309                      "remove only if all ASes in the path are private";
14205                  }14310                  }
14206                  container inheritance-disable {14311                  container inheritance-disable {
14207                    must "not(../entire-aspath or ../internal)";14312                    must "not(../entire-aspath or ../internal)";
14208                    presence "Indicates a inheritance-disable node is configured.";14313                    presence "Indicates a inheritance-disable node is configured.";
14209                    description14314                    description
14210                      "Prevent remove-private-AS from being inherited from the parent";14315                      "Prevent remove-private-AS from being inherited from the parent";
14211                  }14316                  }
14212                  container internal {14317                  container internal {
14213                    must "not(../entire-aspath or ../inheritance-disable)";14318                    must "not(../entire-aspath or ../inheritance-disable)";
14214                    presence "Indicates a inheritance-disable node is configured.";14319                    presence "Indicates a inheritance-disable node is configured.";
14215                    description14320                    description
14216                      "remove only if all ASes in the path are private";14321                      "remove only if all ASes in the path are private";
14217                    container inheritance-disable {14322                    container inheritance-disable {
14218                      presence "Indicates a inheritance-disable node is configured.";14323                      presence "Indicates a inheritance-disable node is configured.";
14219                      description14324                      description
14220                        "Prevent remove-private-AS from being inherited from the parent";14325                        "Prevent remove-private-AS from being inherited from the parent";
14221                    }14326                    }
14222                  }14327                  }
14223                }14328                }
14224                container remove-private-as-inbound {14329                container remove-private-as-inbound {
14225                  must "not(entire-aspath and inheritance-disable)";14330                  must "not(entire-aspath and inheritance-disable)";
14226                  presence "Indicates a inbound node is configured.";14331                  presence "Indicates a inbound node is configured.";
14227                  description14332                  description
14228                    "Remove private AS number from inbound updates";14333                    "Remove private AS number from inbound updates";
14229                  container entire-aspath {14334                  container entire-aspath {
14230                    presence "Indicates a entire-aspath node is configured.";14335                    presence "Indicates a entire-aspath node is configured.";
14231                    description14336                    description
14232                      "remove only if all ASes in the path are private";14337                      "remove only if all ASes in the path are private";
14233                  }14338                  }
14234                  container inheritance-disable {14339                  container inheritance-disable {
14235                    presence "Indicates a inheritance-disable node is configured.";14340                    presence "Indicates a inheritance-disable node is configured.";
14236                    description14341                    description
14237                      "Prevent remove-private-AS from being inherited from the parent";14342                      "Prevent remove-private-AS from being inherited from the parent";
14238                  }14343                  }
14239                }14344                }
14240                container enforce-multiple-labels {14345                container enforce-multiple-labels {
14241                  presence "Indicates a enforce-multiple-labels node is configured.";14346                  presence "Indicates a enforce-multiple-labels node is configured.";
14242                  description14347                  description
14243                    "Enforce support for multiple labels (requires manual session flap)";14348                    "Enforce support for multiple labels (requires manual session flap)";
14244                  container inheritance-disable {14349                  container inheritance-disable {
14245                    presence "Indicates a inheritance-disable node is configured.";14350                    presence "Indicates a inheritance-disable node is configured.";
14246                    description14351                    description
14247                      "Prevent enforce-multiple-labels from being inherited from the parent";14352                      "Prevent enforce-multiple-labels from being inherited from the parent";
14248                  }14353                  }
14249                }14354                }
14250                container route-reflector-client {14355                container route-reflector-client {
14251                  presence "Indicates a route-reflector-client node is configured.";14356                  presence "Indicates a route-reflector-client node is configured.";
14252                  description14357                  description
14253                    "Configure a neighbor as Route Reflector client";14358                    "Configure a neighbor as Route Reflector client";
14254                  container inheritance-disable {14359                  container inheritance-disable {
14255                    presence "Indicates a inheritance-disable node is configured.";14360                    presence "Indicates a inheritance-disable node is configured.";
14256                    description14361                    description
14257                      "Prevent route-reflector-client from being inherited from the parent";14362                      "Prevent route-reflector-client from being inherited from the parent";
14258                  }14363                  }
14259                }14364                }
14260                container accept-route-legacy-rt {14365                container accept-route-legacy-rt {
14261                  presence "Indicates a accept-route-legacy-rt node is configured.";14366                  presence "Indicates a accept-route-legacy-rt node is configured.";
14262                  description14367                  description
14263                    "Configure a neighbor to support legacy PE for RT-Constraint AF";14368                    "Configure a neighbor to support legacy PE for RT-Constraint AF";
14264                  container inheritance-disable {14369                  container inheritance-disable {
14265                    presence "Indicates a inheritance-disable node is configured.";14370                    presence "Indicates a inheritance-disable node is configured.";
14266                    description14371                    description
14267                      "Prevent  accept-route-legacy-RT from being inherited from the parent";14372                      "Prevent  accept-route-legacy-RT from being inherited from the parent";
14268                  }14373                  }
14269                }14374                }
14270                container send-community-ebgp {14375                container send-community-ebgp {
14271                  presence "Indicates a send-community-ebgp node is configured.";14376                  presence "Indicates a send-community-ebgp node is configured.";
14272                  description14377                  description
14273                    "Send community attribute to this external neighbor";14378                    "Send community attribute to this external neighbor";
14274                  container inheritance-disable {14379                  container inheritance-disable {
14275                    presence "Indicates a inheritance-disable node is configured.";14380                    presence "Indicates a inheritance-disable node is configured.";
14276                    description14381                    description
14277                      "Prevent send-community-ebgp from being inherited from the parent";14382                      "Prevent send-community-ebgp from being inherited from the parent";
14278                  }14383                  }
14279                }14384                }
14280                container send-community-gshut-ebgp {14385                container send-community-gshut-ebgp {
14281                  presence "Indicates a send-community-gshut-ebgp node is configured.";14386                  presence "Indicates a send-community-gshut-ebgp node is configured.";
14282                  description14387                  description
14283                    "Allow the g-shut community to be sent to this external neighbor";14388                    "Allow the g-shut community to be sent to this external neighbor";
14284                  container inheritance-disable {14389                  container inheritance-disable {
14285                    presence "Indicates a inheritance-disable node is configured.";14390                    presence "Indicates a inheritance-disable node is configured.";
14286                    description14391                    description
14287                      "Prevent send-community-gshut-ebgp from being inherited from the parent";14392                      "Prevent send-community-gshut-ebgp from being inherited from the parent";
14288                  }14393                  }
14289                }14394                }
14290                container send-extended-community-ebgp {14395                container send-extended-community-ebgp {
14291                  presence "Indicates a send-extended-community-ebgp node is configured.";14396                  presence "Indicates a send-extended-community-ebgp node is configured.";
14292                  description14397                  description
14293                    "Send extended community attribute to this external neighbor";14398                    "Send extended community attribute to this external neighbor";
14294                  container inheritance-disable {14399                  container inheritance-disable {
14295                    presence "Indicates a inheritance-disable node is configured.";14400                    presence "Indicates a inheritance-disable node is configured.";
14296                    description14401                    description
14297                      "Prevent send-extended-community-ebgp from being inherited from parent";14402                      "Prevent send-extended-community-ebgp from being inherited from parent";
14298                  }14403                  }
14299                }14404                }
14300                container soft-reconfiguration {14405                container soft-reconfiguration {
14301                  description14406                  description
14302                    "Per neighbor soft reconfiguration";14407                    "Per neighbor soft reconfiguration";
14303                  container inbound {14408                  container inbound {
14304                    presence "Indicates a inbound node is configured.";14409                    presence "Indicates a inbound node is configured.";
14305                    description14410                    description
14306                      "Allow inbound soft reconfiguration for this neighbor";14411                      "Allow inbound soft reconfiguration for this neighbor";
14307                    container rpki-dropped-only {14412                    container rpki-dropped-only {
14308                      must "not(../rpki-tested-only or ../always or ../inheritance-disable)";14413                      must "not(../rpki-tested-only or ../always or ../inheritance-disable)";
14309                      presence "Indicates a rpki-dropped-only node is configured.";14414                      presence "Indicates a rpki-dropped-only node is configured.";
14310                      description14415                      description
14311                        "Use soft-reconfig, for paths dropped by route-policy which have RPKI validity state check";14416                        "Use soft-reconfig, for paths dropped by route-policy which have RPKI validity state check";
14312                    }14417                    }
14313                    container rpki-tested-only {14418                    container rpki-tested-only {
14314                      must "not(../rpki-dropped-only or ../always or ../inheritance-disable)";14419                      must "not(../rpki-dropped-only or ../always or ../inheritance-disable)";
14315                      presence "Indicates a rpki-tested-only node is configured.";14420                      presence "Indicates a rpki-tested-only node is configured.";
14316                      description14421                      description
14317                        "Use soft-reconfig for paths tested or dropped by route-policy which have RPKI validity state check";14422                        "Use soft-reconfig for paths tested or dropped by route-policy which have RPKI validity state check";
14318                    }14423                    }
14319                    container always {14424                    container always {
14320                      must "not(../rpki-dropped-only or ../rpki-tested-only or ../inheritance-disable)";14425                      must "not(../rpki-dropped-only or ../rpki-tested-only or ../inheritance-disable)";
14321                      presence "Indicates a always node is configured.";14426                      presence "Indicates a always node is configured.";
14322                      description14427                      description
14323                        "Always use soft reconfig, even if route refresh is supported";14428                        "Always use soft reconfig, even if route refresh is supported";
14324                    }14429                    }
14325                    container inheritance-disable {14430                    container inheritance-disable {
14326                      must "not(../rpki-dropped-only or ../rpki-tested-only or ../always)";14431                      must "not(../rpki-dropped-only or ../rpki-tested-only or ../always)";
14327                      presence "Indicates a inheritance-disable node is configured.";14432                      presence "Indicates a inheritance-disable node is configured.";
14328                      description14433                      description
14329                        "Prevent soft-reconfiguration from being inherited from the parent";14434                        "Prevent soft-reconfiguration from being inherited from the parent";
14330                    }14435                    }
14331                  }14436                  }
14332                }14437                }
14333                container update {14438                container update {
14334                  description14439                  description
14335                    "BGP out bound message";14440                    "BGP out bound message";
14336                  container out {14441                  container out {
14337                    description14442                    description
14338                      "BGP out bound message handling";14443                      "BGP out bound message handling";
14339                    container originator-loopcheck {14444                    container originator-loopcheck {
14340                      presence "Indicates a originator-loopcheck node is configured.";14445                      presence "Indicates a originator-loopcheck node is configured.";
14341                      description14446                      description
14342                        "Loop check for same originator which sent the route";14447                        "Loop check for same originator which sent the route";
14343                      container disable {14448                      container disable {
14344                        presence "Indicates a disable node is configured.";14449                        presence "Indicates a disable node is configured.";
14345                        description14450                        description
14346                          "Disable originator loop check";14451                          "Disable originator loop check";
14347                      }14452                      }
14348                    }14453                    }
14349                  }14454                  }
14350                }14455                }
14351                container advertise {14456                container advertise {
14352                  description14457                  description
14353                    "Per neighbor advertisement options";14458                    "Per neighbor advertisement options";
14354                  container permanent-network {14459                  container permanent-network {
14355                    presence "Indicates a permanent-network node is configured.";14460                    presence "Indicates a permanent-network node is configured.";
14356                    description14461                    description
14357                      "Allow permanent networks for this neighbor";14462                      "Allow permanent networks for this neighbor";
14358                  }14463                  }
14359                  container local-labeled-route {14464                  container local-labeled-route {
14360                    presence "Indicates a local-labeled-route node is configured.";14465                    presence "Indicates a local-labeled-route node is configured.";
14361                    description14466                    description
14362                      "Advertisement of routes with local-label";14467                      "Advertisement of routes with local-label";
14363                    container disable {14468                    container disable {
14364                      presence "Indicates a disable node is configured.";14469                      presence "Indicates a disable node is configured.";
14365                      description14470                      description
14366                        "Do not advertise routes with local-label via Unicast SAFI";14471                        "Do not advertise routes with local-label via Unicast SAFI";
14367                    }14472                    }
14368                  }14473                  }
14369                }14474                }
14370                leaf weight {14475                leaf weight {
14371                  type uint32 {14476                  type uint32 {
14372                    range "0..65535" {14477                    range "0..65535" {
14373                      description14478                      description
14374                        "default weight";14479                        "default weight";
14375                    }14480                    }
14376                  }14481                  }
14377                  description14482                  description
14378                    "Set default weight for routes from this neighbor";14483                    "Set default weight for routes from this neighbor";
14379                }14484                }
14380                container allowas-in {14485                container allowas-in {
14381                  presence "Indicates a allowas-in node is configured.";14486                  presence "Indicates a allowas-in node is configured.";
14382                  description14487                  description
14383                    "Allow as-path with my AS present in it";14488                    "Allow as-path with my AS present in it";
14384                  leaf number-of-occurences {14489                  leaf number-of-occurences {
14385                    type uint32 {14490                    type uint32 {
14386                      range "1..10" {14491                      range "1..10" {
14387                        description14492                        description
14388                          "Number of occurences of AS number";14493                          "Number of occurences of AS number";
14389                      }14494                      }
14390                    }14495                    }
14391                    description14496                    description
14392                      "Number of occurences of AS number";14497                      "Number of occurences of AS number";
14393                  }14498                  }
14394                }14499                }
14395                container allowconfedas-in {14500                container allowconfedas-in {
14396                  presence "Indicates a allowconfedas-in node is configured.";14501                  presence "Indicates a allowconfedas-in node is configured.";
14397                  description14502                  description
14398                    "Allow as-path with my confederation AS present in it";14503                    "Allow as-path with my confederation AS present in it";
14399                  leaf number-of-occurences {14504                  leaf number-of-occurences {
14400                    type uint32 {14505                    type uint32 {
14401                      range "1..10" {14506                      range "1..10" {
14402                        description14507                        description
14403                          "Number of occurences of confederation AS number";14508                          "Number of occurences of confederation AS number";
14404                      }14509                      }
14405                    }14510                    }
14406                    description14511                    description
14407                      "Number of occurences of confederation AS number";14512                      "Number of occurences of confederation AS number";
14408                  }14513                  }
14409                }14514                }
14410                container long-lived-graceful-restart {14515                container long-lived-graceful-restart {
14411                  description14516                  description
14412                    "Enable long lived graceful restart support";14517                    "Enable long lived graceful restart support";
14413                  container stale-time {14518                  container stale-time {
14414                    description14519                    description
14415                      "Maximum time to wait before purging long-lived stale routes";14520                      "Maximum time to wait before purging long-lived stale routes";
14416                    leaf send {14521                    leaf send {
14417                      type uint32 {14522                      type uint32 {
14418                        range "0..16777215" {14523                        range "0..16777215" {
14419                          description14524                          description
14420                            "Max time (seconds)";14525                            "Max time (seconds)";
14421                        }14526                        }
14422                      }14527                      }
14423                      description14528                      description
14424                        "Stale-time sent in LLGR Capability";14529                        "Stale-time sent in LLGR Capability";
14425                    }14530                    }
14426                    leaf accept {14531                    leaf accept {
14427                      type uint32 {14532                      type uint32 {
14428                        range "0..16777215" {14533                        range "0..16777215" {
14429                          description14534                          description
14430                            "Max time (seconds)";14535                            "Max time (seconds)";
14431                        }14536                        }
14432                      }14537                      }
14433                      description14538                      description
14434                        "Maximum stale-time acceptable from neighbor";14539                        "Maximum stale-time acceptable from neighbor";
14435                    }14540                    }
14436                  }14541                  }
14437                  container capable {14542                  container capable {
14438                    presence "Indicates a capable node is configured.";14543                    presence "Indicates a capable node is configured.";
14439                    description14544                    description
14440                      "Treat neighbor as LLGR capable";14545                      "Treat neighbor as LLGR capable";
14441                  }14546                  }
14442                }14547                }
14443                container as-override {14548                container as-override {
14444                  presence "Indicates a as-override node is configured.";14549                  presence "Indicates a as-override node is configured.";
14445                  description14550                  description
14446                    "Override matching AS-number while sending update";14551                    "Override matching AS-number while sending update";
14447                  container inheritance-disable {14552                  container inheritance-disable {
14448                    presence "Indicates a inheritance-disable node is configured.";14553                    presence "Indicates a inheritance-disable node is configured.";
14449                    description14554                    description
14450                      "Prevent as-override from being inherited from the parent";14555                      "Prevent as-override from being inherited from the parent";
14451                  }14556                  }
14452                }14557                }
14453                container aigp {14558                container aigp {
14454                  presence "Indicates a aigp node is configured.";14559                  presence "Indicates a aigp node is configured.";
14455                  description14560                  description
14456                    "Enable AIGP for this neighbor ";14561                    "Enable AIGP for this neighbor ";
14457                  container disable {14562                  container disable {
14458                    presence "Indicates a disable node is configured.";14563                    presence "Indicates a disable node is configured.";
14459                    description14564                    description
14460                      "Disable AIGP";14565                      "Disable AIGP";
14461                  }14566                  }
14462                }14567                }
14463                container aigp-send {14568                container aigp-send {
14464                  description14569                  description
14465                    "Copy AIGP";14570                    "Copy AIGP";
14466                  container cost-community {14571                  container cost-community {
14467                    description14572                    description
14468                      "Send AIGP value in Cost Community";14573                      "Send AIGP value in Cost Community";
14469                    leaf cost-community-id {14574                    leaf cost-community-id {
14470                      type uint32 {14575                      type uint32 {
14471                        range "0..255" {14576                        range "0..255" {
14472                          description14577                          description
14473                            "Cost community ID";14578                            "Cost community ID";
14474                        }14579                        }
14475                      }14580                      }
14476                      must "not(../disable)";14581                      must "not(../disable)";
14477                      description14582                      description
14478                        "Cost community ID";14583                        "Cost community ID";
14479                    }14584                    }
14480                    container poi {14585                    container poi {
14481                      must "(igp-cost or pre-bestpath) and not(igp-cost and pre-bestpath)";14586                      must "(igp-cost or pre-bestpath) and not(igp-cost and pre-bestpath)";
14482                      presence "Indicates a poi node is configured.";14587                      presence "Indicates a poi node is configured.";
14483                      description14588                      description
14484                        "Point of insertion for bestpath calculation";14589                        "Point of insertion for bestpath calculation";
14485                      container igp-cost {14590                      container igp-cost {
14486                        presence "Indicates a igp-cost node is configured.";14591                        presence "Indicates a igp-cost node is configured.";
14487                        description14592                        description
14488                          "Cost community is used after IGP distance to next hop";14593                          "Cost community is used after IGP distance to next hop";
14489                        container transitive {14594                        container transitive {
14490                          presence "Indicates a transitive node is configured.";14595                          presence "Indicates a transitive node is configured.";
14491                          description14596                          description
14492                            "Enable transitive cost community";14597                            "Enable transitive cost community";
14493                        }14598                        }
14494                      }14599                      }
14495                      container pre-bestpath {14600                      container pre-bestpath {
14496                        presence "Indicates a pre-bestpath node is configured.";14601                        presence "Indicates a pre-bestpath node is configured.";
14497                        description14602                        description
14498                          "Cost community is first step in best path calculation";14603                          "Cost community is first step in best path calculation";
14499                        container transitive {14604                        container transitive {
14500                          presence "Indicates a transitive node is configured.";14605                          presence "Indicates a transitive node is configured.";
14501                          description14606                          description
14502                            "Enable transitive cost community";14607                            "Enable transitive cost community";
14503                        }14608                        }
14504                      }14609                      }
14505                    }14610                    }
14506                    container disable {14611                    container disable {
14507                      must "not(../cost-community-id)";14612                      must "not(../cost-community-id)";
14508                      presence "Indicates a disable node is configured.";14613                      presence "Indicates a disable node is configured.";
14509                      description14614                      description
14510                        "Disable aigp send cost-community";14615                        "Disable aigp send cost-community";
14511                    }14616                    }
14512                  }14617                  }
14513                  container med {14618                  container med {
14514                    presence "Indicates a med node is configured.";14619                    presence "Indicates a med node is configured.";
14515                    description14620                    description
14516                      "Send AIGP value in MED";14621                      "Send AIGP value in MED";
14517                    container disable {14622                    container disable {
14518                      presence "Indicates a disable node is configured.";14623                      presence "Indicates a disable node is configured.";
14519                      description14624                      description
14520                        "Disable aigp send med";14625                        "Disable aigp send med";
14521                    }14626                    }
14522                  }14627                  }
14523                }14628                }
14524                container validation {14629                container validation {
14525                  when "../af-name = 'ipv4-flowspec' or ../af-name = 'ipv6-flowspec'";14630                  when "../af-name = 'ipv4-flowspec' or ../af-name = 'ipv6-flowspec'";
14526                  presence "Indicates a validation node is configured.";14631                  presence "Indicates a validation node is configured.";
14527                  description14632                  description
14528                    "Flowspec Validation for this neighbor ";14633                    "Flowspec Validation for this neighbor ";
14529                  container disable {14634                  container disable {
14530                    presence "Indicates a disable node is configured.";14635                    presence "Indicates a disable node is configured.";
14531                    description14636                    description
14532                      "Disable Flowspec Validation";14637                      "Disable Flowspec Validation";
14533                  }14638                  }
14534                  container redirect {14639                  container redirect {
14535                    description14640                    description
14536                      "Flowspec Redirect nexthop Validation";14641                      "Flowspec Redirect nexthop Validation";
14537                    container disable {14642                    container disable {
14538                      presence "Indicates a disable node is configured.";14643                      presence "Indicates a disable node is configured.";
14539                      description14644                      description
14540                        "Disable Flowspec Redirect nexthop Validation";14645                        "Disable Flowspec Redirect nexthop Validation";
14541                    }14646                    }
14542                  }14647                  }
14543                }14648                }
14544                container send-multicast-attributes {14649                container send-multicast-attributes {
14545                  when "../af-name = 'ipv4-unicast' or ../af-name = 'ipv6-unicast' or ../af-name = 'ipv4-labeled-unicast' or ../af-name = 'ipv6-labeled-unicast' or ../af-name = 'ipv4-multicast' or ../af-name = 'ipv6-multicast' or ../af-name = 'ipv4-mvpn' or ../af-name = 'ipv6-mvpn'";14650                  when "../af-name = 'ipv4-unicast' or ../af-name = 'ipv6-unicast' or ../af-name = 'ipv4-labeled-unicast' or ../af-name = 'ipv6-labeled-unicast' or ../af-name = 'ipv4-multicast' or ../af-name = 'ipv6-multicast' or ../af-name = 'ipv4-mvpn' or ../af-name = 'ipv6-mvpn'";
14546                  presence "Indicates a send-multicast-attributes node is configured.";14651                  presence "Indicates a send-multicast-attributes node is configured.";
14547                  description14652                  description
14548                    "Send multicast attributes to this neighbor ";14653                    "Send multicast attributes to this neighbor ";
14549                  container disable {14654                  container disable {
14550                    presence "Indicates a disable node is configured.";14655                    presence "Indicates a disable node is configured.";
14551                    description14656                    description
14552                      "Disable send multicast attribute";14657                      "Disable send multicast attribute";
14553                  }14658                  }
14554                }14659                }
14555                container signalling {14660                container signalling {
14556                  description14661                  description
14557                    "Signalling protocols to disable, BGP or LDP";14662                    "Signalling protocols to disable, BGP or LDP";
14558                  container bgp {14663                  container bgp {
14559                    description14664                    description
14560                      "Select BGP to disable";14665                      "Select BGP to disable";
14561                    container disable {14666                    container disable {
14562                      presence "Indicates a disable node is configured.";14667                      presence "Indicates a disable node is configured.";
14563                      description14668                      description
14564                        "Disable Signalling type";14669                        "Disable Signalling type";
14565                    }14670                    }
14566                  }14671                  }
14567                  container ldp {14672                  container ldp {
14568                    description14673                    description
14569                      "Select LDP to disable";14674                      "Select LDP to disable";
14570                    container disable {14675                    container disable {
14571                      presence "Indicates a disable node is configured.";14676                      presence "Indicates a disable node is configured.";
14572                      description14677                      description
14573                        "Disable Signalling type";14678                        "Disable Signalling type";
14574                    }14679                    }
14575                  }14680                  }
14576                }14681                }
14577                container accept-own {14682                container accept-own {
14578                  presence "Indicates a accept-own node is configured.";14683                  presence "Indicates a accept-own node is configured.";
14579                  description14684                  description
14580                    "Handle self-originated routes with Accept-Own community";14685                    "Handle self-originated routes with Accept-Own community";
14581                  container inheritance-disable {14686                  container inheritance-disable {
14582                    presence "Indicates a inheritance-disable node is configured.";14687                    presence "Indicates a inheritance-disable node is configured.";
14583                    description14688                    description
14584                      "Prevent item being inherited from a parent group";14689                      "Prevent item being inherited from a parent group";
14585                  }14690                  }
14586                }14691                }
14587                container cluster-id {14692                container cluster-id {
14588                  description14693                  description
14589                    "Allow routes with first cluster-id in list is same as the router's cluster id";14694                    "Allow routes with first cluster-id in list is same as the router's cluster id";
14590                  container allow-equal {14695                  container allow-equal {
14591                    presence "Indicates a allow-equal node is configured.";14696                    presence "Indicates a allow-equal node is configured.";
14592                    description14697                    description
14593                      "Accept routes with first cluster-id in list is same as the router's cluster id";14698                      "Accept routes with first cluster-id in list is same as the router's cluster id";
14594                    container disable {14699                    container disable {
14595                      presence "Indicates a allow-equal node is configured.";14700                      presence "Indicates a allow-equal node is configured.";
14596                      description14701                      description
14597                        "Prevent the configuration from being inherited.";14702                        "Prevent the configuration from being inherited.";
14598                    }14703                    }
14599                  }14704                  }
14600                }14705                }
14601                container site-of-origin {14706                container site-of-origin {
14602                  description14707                  description
14603                    "Site-of-Origin extended community associated with the neighbor";14708                    "Site-of-Origin extended community associated with the neighbor";
14604                  container two-byte-as {14709                  container two-byte-as {
14605                    must "not(../four-byte-as or ../ip-address)";14710                    must "not(../four-byte-as or ../ip-address)";
14606                    presence "Indicates a two-byte-as node is configured.";14711                    presence "Indicates a two-byte-as node is configured.";
14607                    description14712                    description
14608                      "two-byte-as Site-of-Origin";14713                      "two-byte-as Site-of-Origin";
14609                    leaf as-number {14714                    leaf as-number {
14610                      type xr:Bgp-as-number;14715                      type xr:Bgp-as-number;
14611                      mandatory true;14716                      mandatory true;
14612                      description14717                      description
14613                        "bgp as-number";14718                        "bgp as-number";
14614                    }14719                    }
14615                    leaf index {14720                    leaf index {
14616                      type uint32 {14721                      type uint32 {
14617                        range "0..4294967295" {14722                        range "0..4294967295" {
14618                          description14723                          description
14619                            "ASN2:index (hex or decimal format)";14724                            "ASN2:index (hex or decimal format)";
14620                        }14725                        }
14621                      }14726                      }
14622                      mandatory true;14727                      mandatory true;
14623                      description14728                      description
14624                        "ASN2:index (hex or decimal format)";14729                        "ASN2:index (hex or decimal format)";
14625                    }14730                    }
14626                  }14731                  }
14627                  container four-byte-as {14732                  container four-byte-as {
14628                    must "not(../two-byte-as or ../ip-address)";14733                    must "not(../two-byte-as or ../ip-address)";
14629                    presence "Indicates a four-byte-as node is configured.";14734                    presence "Indicates a four-byte-as node is configured.";
14630                    description14735                    description
14631                      "four-byte-as site-of-Origin";14736                      "four-byte-as site-of-Origin";
14632                    leaf as-number {14737                    leaf as-number {
14633                      type xr:Bgp-as-number;14738                      type xr:Bgp-as-number;
14634                      mandatory true;14739                      mandatory true;
14635                      description14740                      description
14636                        "4-byte AS number";14741                        "4-byte AS number";
14637                    }14742                    }
14638                    leaf index {14743                    leaf index {
14639                      type uint32 {14744                      type uint32 {
14640                        range "0..4294967295" {14745                        range "0..4294967295" {
14641                          description14746                          description
14642                            "ASN2:index (hex or decimal format)";14747                            "ASN2:index (hex or decimal format)";
14643                        }14748                        }
14644                      }14749                      }
14645                      mandatory true;14750                      mandatory true;
14646                      description14751                      description
14647                        "ASN2:index (hex or decimal format)";14752                        "ASN2:index (hex or decimal format)";
14648                    }14753                    }
14649                  }14754                  }
14650                  container ip-address {14755                  container ip-address {
14651                    must "not(../two-byte-as or ../four-byte-as)";14756                    must "not(../two-byte-as or ../four-byte-as)";
14652                    presence "Indicates a ip-address node is configured.";14757                    presence "Indicates a ip-address node is configured.";
14653                    description14758                    description
14654                      "configure this node";14759                      "configure this node";
14655                    leaf ipv4-address {14760                    leaf ipv4-address {
14656                      type inet:ipv4-address-no-zone;14761                      type inet:ipv4-address-no-zone;
14657                      mandatory true;14762                      mandatory true;
14658                      description14763                      description
14659                        "configure this node";14764                        "configure this node";
14660                    }14765                    }
14661                    leaf index {14766                    leaf index {
14662                      type uint32 {14767                      type uint32 {
14663                        range "0..65535" {14768                        range "0..65535" {
14664                          description14769                          description
14665                            "IPv4Address:index (hex or decimal format)";14770                            "IPv4Address:index (hex or decimal format)";
14666                        }14771                        }
14667                      }14772                      }
14668                      mandatory true;14773                      mandatory true;
14669                      description14774                      description
14670                        "IPv4Address:index (hex or decimal format)";14775                        "IPv4Address:index (hex or decimal format)";
14671                    }14776                    }
14672                  }14777                  }
14673                }14778                }
14674                container multipath {14779                container multipath {
14675                  presence "Indicates a multipath node is configured.";14780                  presence "Indicates a multipath node is configured.";
14676                  description14781                  description
14677                    "Paths from this neighbor is eligible for multipath";14782                    "Paths from this neighbor is eligible for multipath";
14678                }14783                }
14679                container additional-paths {14784                container additional-paths {
14680                  description14785                  description
14681                    "Additional paths capability";14786                    "Additional paths capability";
14682                  container receive {14787                  container receive {
14683                    presence "Indicates a receive node is configured.";14788                    presence "Indicates a receive node is configured.";
14684                    description14789                    description
14685                      "Additional paths Receive capability";14790                      "Additional paths Receive capability";
14686                    container disable {14791                    container disable {
14687                      presence "Indicates a disable node is configured.";14792                      presence "Indicates a disable node is configured.";
14688                      description14793                      description
14689                        "Prevent additional-paths receive from being inherited from the parent";14794                        "Prevent additional-paths receive from being inherited from the parent";
14690                    }14795                    }
14691                  }14796                  }
14692                  container send {14797                  container send {
14693                    presence "Indicates a send node is configured.";14798                    presence "Indicates a send node is configured.";
14694                    description14799                    description
14695                      "Additional paths Send capability";14800                      "Additional paths Send capability";
14696                    container disable {14801                    container disable {
14697                      presence "Indicates a disable node is configured.";14802                      presence "Indicates a disable node is configured.";
14698                      description14803                      description
14699                        "Prevent additional-paths receive from being inherited from the parent";14804                        "Prevent additional-paths receive from being inherited from the parent";
14700                    }14805                    }
14701                  }14806                  }
14702                }14807                }
14703              }14808              }
14704            }14809            }
14705            container update {14810            container update {
14706              description14811              description
14707                "BGP Update configuration";14812                "BGP Update configuration";
14708              container in {14813              container in {
14709                description14814                description
14710                  "Inbound update message handling";14815                  "Inbound update message handling";
14711                container filtering {14816                container filtering {
14712                  presence "Indicates a filtering node is configured.";14817                  presence "Indicates a filtering node is configured.";
14713                  description14818                  description
14714                    "Inbound update message filtering";14819                    "Inbound update message filtering";
14715                  container message {14820                  container message {
14716                    description14821                    description
14717                      "Filtered update messages";14822                      "Filtered update messages";
14718                    container buffers {14823                    container buffers {
14719                      presence "Indicates a buffers node is configured.";14824                      presence "Indicates a buffers node is configured.";
14720                      description14825                      description
14721                        "Filtered update message buffers";14826                        "Filtered update message buffers";
14722                      leaf number-of-buffers {14827                      leaf number-of-buffers {
14723                        type uint32 {14828                        type uint32 {
14724                          range "0..25" {14829                          range "0..25" {
14725                            description14830                            description
14726                              "Number of buffers to store filtered update messages (resizing does not take effect after filtering action has started)";14831                              "Number of buffers to store filtered update messages (resizing does not take effect after filtering action has started)";
14727                          }14832                          }
14728                        }14833                        }
14729                        mandatory true;14834                        mandatory true;
14730                        description14835                        description
14731                          "Filtered update message buffers";14836                          "Filtered update message buffers";
14732                      }14837                      }
14733                      container non-circular {14838                      container non-circular {
14734                        presence "Indicates a non-circular node is configured.";14839                        presence "Indicates a non-circular node is configured.";
14735                        description14840                        description
14736                          "Message buffer list is not circular";14841                          "Message buffer list is not circular";
14737                      }14842                      }
14738                    }14843                    }
14739                  }14844                  }
14740                  container logging {14845                  container logging {
14741                    description14846                    description
14742                      "Update filtering syslog message";14847                      "Update filtering syslog message";
14743                    container disable {14848                    container disable {
14744                      presence "Indicates a disable node is configured.";14849                      presence "Indicates a disable node is configured.";
14745                      description14850                      description
14746                        "Disable update filtering syslog message";14851                        "Disable update filtering syslog message";
14747                    }14852                    }
14748                  }14853                  }
14749                  container attribute-filter {14854                  container attribute-filter {
14750                    description14855                    description
14751                      "Attribute-filter configuration";14856                      "Attribute-filter configuration";
14752                    leaf group {14857                    leaf group {
14753                      type string {14858                      type string {
14754                        length "1..1024" {14859                        length "1..1024" {
14755                          description14860                          description
14756                            "Attribute-filter group name";14861                            "Attribute-filter group name";
14757                        }14862                        }
14758                      }14863                      }
14759                      description14864                      description
14760                        "Attribute-filter group configuration";14865                        "Attribute-filter group configuration";
14761                    }14866                    }
14762                  }14867                  }
14763                }14868                }
14764                container merge {14869                container merge {
14765                  description14870                  description
14766                    "Merge incoming updates";14871                    "Merge incoming updates";
14767                  container safi {14872                  container safi {
14768                    description14873                    description
14769                      "SAFI of the NLRIs to merge";14874                      "SAFI of the NLRIs to merge";
14770                    container unicast {14875                    container unicast {
14771                      description14876                      description
14772                        "IPv4/IPv6 unicast paths";14877                        "IPv4/IPv6 unicast paths";
14773                      container labeled-unicast {14878                      container labeled-unicast {
14774                        presence "Indicates a labeled-unicast node is configured.";14879                        presence "Indicates a labeled-unicast node is configured.";
14775                        description14880                        description
14776                          "IPv4/IPv6 labeled-unicast paths";14881                          "IPv4/IPv6 labeled-unicast paths";
14777                        container inheritance-disable {14882                        container inheritance-disable {
14778                          presence "Indicates a inheritance-disable node is configured.";14883                          presence "Indicates a inheritance-disable node is configured.";
14779                          description14884                          description
14780                            "Do not inherit this configuration from parent group";14885                            "Do not inherit this configuration from parent group";
14781                        }14886                        }
14782                      }14887                      }
14783                    }14888                    }
14784                  }14889                  }
14785                }14890                }
14786                container error-handling {14891                container error-handling {
14787                  description14892                  description
14788                    "Inbound update message error handling";14893                    "Inbound update message error handling";
14789                  container avoid-reset {14894                  container avoid-reset {
14790                    presence "Indicates a avoid-reset node is configured.";14895                    presence "Indicates a avoid-reset node is configured.";
14791                    description14896                    description
14792                      "Avoid neighbor reset during inbound update message error handling";14897                      "Avoid neighbor reset during inbound update message error handling";
14793                    container disable {14898                    container disable {
14794                      presence "Indicates a disable node is configured.";14899                      presence "Indicates a disable node is configured.";
14795                      description14900                      description
14796                        "Neighbor may be reset during inbound update message error handling";14901                        "Neighbor may be reset during inbound update message error handling";
14797                    }14902                    }
14798                  }14903                  }
14799                  container treat-as-withdraw {14904                  container treat-as-withdraw {
14800                    presence "Indicates a treat-as-withdraw node is configured.";14905                    presence "Indicates a treat-as-withdraw node is configured.";
14801                    description14906                    description
14802                      "Treat NLRIs as withdraws during inbound update message error handling";14907                      "Treat NLRIs as withdraws during inbound update message error handling";
14803                    container disable {14908                    container disable {
14804                      presence "Indicates a disable node is configured.";14909                      presence "Indicates a disable node is configured.";
14805                      description14910                      description
14806                        "Disable treat NLRIs as withdraws during inbound update message error handling";14911                        "Disable treat NLRIs as withdraws during inbound update message error handling";
14807                    }14912                    }
14808                  }14913                  }
14809                }14914                }
14810              }14915              }
14811            }14916            }
14812            container graceful-maintenance {14917            container graceful-maintenance {
14813              presence "Indicates a graceful-maintenance node is configured.";14918              presence "Indicates a graceful-maintenance node is configured.";
14814              description14919              description
14815                "Attributes for Graceful Maintenance. This will cause14920                "Attributes for Graceful Maintenance. This will cause
14816                 neig de-prer routes from this router and14921                 neig de-prer routes from this router and
14817                 choonates.his allows the router to be14922                 choonates.his allows the router to be
14818                 brour out  service gracefully.";14923                 brour out  service gracefully.";
14819              container local-preference {14924              container local-preference {
14820                must "local-preference-value or inheritance-disable";14925                must "local-preference-value or inheritance-disable";
14821                presence "Indicates a local-preference node is configured.";14926                presence "Indicates a local-preference node is configured.";
14822                description14927                description
14823                  "local preference with which to advertise routes to ibgps. Deflt=No Touch";14928                  "local preference with which to advertise routes to ibgps. Deflt=No Touch";
14824                leaf local-preference-value {14929                leaf local-preference-value {
14825                  type uint32 {14930                  type uint32 {
14826                    range "0..4294967295" {14931                    range "0..4294967295" {
14827                      description14932                      description
14828                        "Range of values for Local Preference";14933                        "Range of values for Local Preference";
14829                    }14934                    }
14830                  }14935                  }
14831                  description14936                  description
14832                    "Range of values for Local Preference";14937                    "Range of values for Local Preference";
14833                }14938                }
14834                container inheritance-disable {14939                container inheritance-disable {
14835                  presence "Indicates a inheritance-disable node is configured.";14940                  presence "Indicates a inheritance-disable node is configured.";
14836                  description14941                  description
14837                    "Prevent local preference from being inherited from the parent";14942                    "Prevent local preference from being inherited from the parent";
14838                }14943                }
14839              }14944              }
14840              container as-prepends {14945              container as-prepends {
14841                must "number-of-as-prepends or inheritance-disable";14946                must "number-of-as-prepends or inheritance-disable";
14842                presence "Indicates a as-prepends node is configured.";14947                presence "Indicates a as-prepends node is configured.";
14843                description14948                description
14844                  "Number of times to prepend the local AS number to the14949                  "Number of times to prepend the local AS number to the
14845                   AS poutes.efault=0";14950                   AS poutes.efault=0";
14846                leaf number-of-as-prepends {14951                leaf number-of-as-prepends {
14847                  type uint32 {14952                  type uint32 {
14848                    range "0..6" {14953                    range "0..6" {
14849                      description14954                      description
14850                        "Range of number of AS prepends";14955                        "Range of number of AS prepends";
14851                    }14956                    }
14852                  }14957                  }
14853                  description14958                  description
14854                    "Range of number of AS prepends";14959                    "Range of number of AS prepends";
14855                }14960                }
14856                container inheritance-disable {14961                container inheritance-disable {
14857                  presence "Indicates a inheritance-disable node is configured.";14962                  presence "Indicates a inheritance-disable node is configured.";
14858                  description14963                  description
14859                    "Prevent AS prepends from being inherited from the parent";14964                    "Prevent AS prepends from being inherited from the parent";
14860                }14965                }
14861              }14966              }
14862              container activate {14967              container activate {
14863                presence "Indicates a activate node is configured.";14968                presence "Indicates a activate node is configured.";
14864                description14969                description
14865                  "Routes will be announced with the graceful maintenance14970                  "Routes will be announced with the graceful maintenance
14866                   attrhile aivated either here or under router14971                   attrhile aivated either here or under router
14867                   bgp ation.hile activated, all routes to this14972                   bgp ation.hile activated, all routes to this
14868                   neigl be aounced with the attributes14973                   neigl be aounced with the attributes
14869                   confere anall routes from this neighbor will14974                   confere anall routes from this neighbor will
14870                   be a to otr neighbors with the graceful14975                   be a to otr neighbors with the graceful
14871                   mainattribes configured under those14976                   mainattribes configured under those
14872                   neighe g-st community will be announced14977                   neighe g-st community will be announced
14873                   regaf the her attributes configured here. To14978                   regaf the her attributes configured here. To
14874                   alloshut cmunity to be announced to ebgp14979                   alloshut cmunity to be announced to ebgp
14875                   neighe sencommunity-gshut-ebgp configuration14980                   neighe sencommunity-gshut-ebgp configuration
14876                   is aired. te: changes to the attributes will14981                   is aired. te: changes to the attributes will
14877                   not ect whe activated.";14982                   not ect whe activated.";
14878                container inheritance-disable {14983                container inheritance-disable {
14879                  presence "Indicates a inheritance-disable node is configured.";14984                  presence "Indicates a inheritance-disable node is configured.";
14880                  description14985                  description
14881                    "Prevent activate from being inherited from the parent";14986                    "Prevent activate from being inherited from the parent";
14882                }14987                }
14883              }14988              }
14884            }14989            }
14885            leaf remote-as {14990            leaf remote-as {
14886              type xr:Bgp-as-number;14991              type xr:Bgp-as-number;
14887              description14992              description
14888                "bgp as-number";14993                "bgp as-number";
14889            }14994            }
14890            leaf remote-as-list {14995            leaf remote-as-list {
14891              type string {14996              type string {
14892                length "1..1024" {14997                length "1..1024" {
14893                  description14998                  description
14894                    "as-list name";14999                    "as-list name";
14895                }15000                }
14896              }15001              }
14897              description15002              description
14898                "Remote as-list configuration";15003                "Remote as-list configuration";
14899            }15004            }
14900            container use {15005            container use {
14901              description15006              description
14902                "Inherit configuration from a group";15007                "Inherit configuration from a group";
14903              leaf session-group {15008              leaf session-group {
14904                type string {15009                type string {
14905                  length "1..1024" {15010                  length "1..1024" {
14906                    description15011                    description
14907                      "Session group name";15012                      "Session group name";
14908                  }15013                  }
14909                }15014                }
14910                description15015                description
14911                  "Inherit address-family independent config from a session-group";15016                  "Inherit address-family independent config from a session-group";
14912              }15017              }
14913              leaf neighbor-group {15018              leaf neighbor-group {
14914                type string {15019                type string {
14915                  length "1..1024" {15020                  length "1..1024" {
14916                    description15021                    description
14917                      "Neighbor-group name";15022                      "Neighbor-group name";
14918                  }15023                  }
14919                }15024                }
14920                description15025                description
14921                  "Inherit configuration from a neighbor-group";15026                  "Inherit configuration from a neighbor-group";
14922              }15027              }
14923            }15028            }
14924            container advertisement-interval {15029            container advertisement-interval {
14925              presence "Indicates a advertisement-interval node is configured.";15030              presence "Indicates a advertisement-interval node is configured.";
14926              description15031              description
14927                "Minimum interval between sending BGP routing updates";15032                "Minimum interval between sending BGP routing updates";
14928              leaf time-in-seconds {15033              leaf time-in-seconds {
14929                type uint32 {15034                type uint32 {
14930                  range "0..600" {15035                  range "0..600" {
14931                    description15036                    description
14932                      "time in seconds";15037                      "time in seconds";
14933                  }15038                  }
14934                }15039                }
14935                mandatory true;15040                mandatory true;
14936                description15041                description
14937                  "Minimum interval between sending BGP routing updates";15042                  "Minimum interval between sending BGP routing updates";
14938              }15043              }
14939              leaf time-in-milliseconds {15044              leaf time-in-milliseconds {
14940                type uint32 {15045                type uint32 {
14941                  range "0..999" {15046                  range "0..999" {
14942                    description15047                    description
14943                      "time in milliseconds";15048                      "time in milliseconds";
14944                  }15049                  }
14945                }15050                }
14946                description15051                description
14947                  "time in milliseconds";15052                  "time in milliseconds";
14948              }15053              }
14949            }15054            }
14950            leaf description {15055            leaf description {
14951              type string {15056              type string {
14952                length "1..1024" {15057                length "1..1024" {
14953                  description15058                  description
14954                    "Up to 256 characters describing this neighbor";15059                    "Up to 256 characters describing this neighbor";
14955                }15060                }
14956              }15061              }
14957              description15062              description
14958                "Neighbor specific description";15063                "Neighbor specific description";
14959            }15064            }
14960            container ignore-connected-check {15065            container ignore-connected-check {
14961              presence "Indicates a ignore-connected-check node is configured.";15066              presence "Indicates a ignore-connected-check node is configured.";
14962              description15067              description
14963                "Bypass the directly connected nexthop check for single-hop eBGP peering";15068                "Bypass the directly connected nexthop check for single-hop eBGP peering";
14964              container inheritance-disable {15069              container inheritance-disable {
14965                presence "Indicates a inheritance-disable node is configured.";15070                presence "Indicates a inheritance-disable node is configured.";
14966                description15071                description
14967                  "Prevent ignore-connected-check from being inherited from the parent";15072                  "Prevent ignore-connected-check from being inherited from the parent";
14968              }15073              }
14969            }15074            }
14970            container internal-vpn-client {15075            container internal-vpn-client {
14971              presence "Indicates a internal-vpn-client node is configured.";15076              presence "Indicates a internal-vpn-client node is configured.";
14972              description15077              description
14973                "Preserve iBGP CE neighbor path in ATTR_SET across VPN core";15078                "Preserve iBGP CE neighbor path in ATTR_SET across VPN core";
14974            }15079            }
14975            container ebgp-multihop {15080            container ebgp-multihop {
14976              presence "Indicates a ebgp-multihop node is configured.";15081              presence "Indicates a ebgp-multihop node is configured.";
14977              description15082              description
14978                "Allow EBGP neighbors not on directly connected networks";15083                "Allow EBGP neighbors not on directly connected networks";
14979              leaf maximum-hop-count {15084              leaf maximum-hop-count {
14980                type uint32 {15085                type uint32 {
14981                  range "1..255" {15086                  range "1..255" {
14982                    description15087                    description
14983                      "maximum hop count";15088                      "maximum hop count";
14984                  }15089                  }
14985                }15090                }
14986                mandatory true;15091                mandatory true;
14987                description15092                description
14988                  "maximum hop count";15093                  "maximum hop count";
14989              }15094              }
14990              container mpls {15095              container mpls {
14991                presence "Indicates a mpls node is configured.";15096                presence "Indicates a mpls node is configured.";
14992                description15097                description
14993                  "Disable BGP MPLS forwarding";15098                  "Disable BGP MPLS forwarding";
14994              }15099              }
14995            }15100            }
14996            container tcp {15101            container tcp {
14997              description15102              description
14998                "TCP session configuration commands";15103                "TCP session configuration commands";
14999              container mss {15104              container mss {
15000                must "initial-mss or inheritance-disable";15105                must "initial-mss or inheritance-disable";
15001                presence "Indicates a mss node is configured.";15106                presence "Indicates a mss node is configured.";
15002                description15107                description
15003                  "Maximum Segment Size";15108                  "Maximum Segment Size";
15004                leaf initial-mss {15109                leaf initial-mss {
15005                  type uint32 {15110                  type uint32 {
15006                    range "68..10000" {15111                    range "68..10000" {
15007                      description15112                      description
15008                        "TCP initial maximum segment size";15113                        "TCP initial maximum segment size";
15009                    }15114                    }
15010                  }15115                  }
15011                  description15116                  description
15012                    "TCP initial maximum segment size";15117                    "TCP initial maximum segment size";
15013                }15118                }
15014                container inheritance-disable {15119                container inheritance-disable {
15015                  presence "Indicates a inheritance-disable node is configured.";15120                  presence "Indicates a inheritance-disable node is configured.";
15016                  description15121                  description
15017                    "Prevent tcp mss from being inherited from the parent";15122                    "Prevent tcp mss from being inherited from the parent";
15018                }15123                }
15019              }15124              }
15020            }15125            }
15021            container bmp-activate {15126            container bmp-activate {
15022              description15127              description
15023                "Enable BMP logging for this neighbor";15128                "Enable BMP logging for this neighbor";
15024              container servers {15129              container servers {
15025                description15130                description
15026                  "Enable BMP connection to particular server";15131                  "Enable BMP connection to particular server";
15027                list server {15132                list server {
15028                  key "server-id";15133                  key "server-id";
15029                  description15134                  description
15030                    "Enable BMP connection to particular server";15135                    "Enable BMP connection to particular server";
15031                  leaf server-id {15136                  leaf server-id {
15032                    type uint32 {15137                    type uint32 {
15033                      range "1..8" {15138                      range "1..8" {
15034                        description15139                        description
15035                          "Enable BMP connection to particular server";15140                          "Enable BMP connection to particular server";
15036                      }15141                      }
15037                    }15142                    }
15038                    description15143                    description
15039                      "Enable BMP connection to particular server";15144                      "Enable BMP connection to particular server";
15040                  }15145                  }
15041                }15146                }
15042              }15147              }
15043            }15148            }
15044            container bfd {15149            container bfd {
15045              description15150              description
15046                "Configure BFD parameters";15151                "Configure BFD parameters";
15047              container fast-detect {15152              container fast-detect {
15048                must "not(strict-mode and disable)";15153                must "not(strict-mode and disable)";
15049                presence "Indicates a fast-detect node is configured.";15154                presence "Indicates a fast-detect node is configured.";
15050                description15155                description
15051                  "Enable Fast detection";15156                  "Enable Fast detection";
15052                container strict-mode {15157                container strict-mode {
15053                  presence "Indicates a strict-mode node is configured.";15158                  presence "Indicates a strict-mode node is configured.";
15054                  description15159                  description
15055                    "Hold down neighbor session until BFD session is up";15160                    "Hold down neighbor session until BFD session is up";
15056                }15161                }
15057                container disable {15162                container disable {
15058                  presence "Indicates a disable node is configured.";15163                  presence "Indicates a disable node is configured.";
15059                  description15164                  description
15060                    "Prevent bfd settings from being inherited from the parent";15165                    "Prevent bfd settings from being inherited from the parent";
15061                }15166                }
15062              }15167              }
15063              leaf minimum-interval {15168              leaf minimum-interval {
15064                type uint32 {15169                type uint32 {
15065                  range "3..30000" {15170                  range "3..30000" {
15066                    description15171                    description
15067                      "hello interval in milli-seconds";15172                      "hello interval in milli-seconds";
15068                  }15173                  }
15069                }15174                }
15070                description15175                description
15071                  "Hello interval";15176                  "Hello interval";
15072              }15177              }
15073              leaf multiplier {15178              leaf multiplier {
15074                type uint32 {15179                type uint32 {
15075                  range "2..16" {15180                  range "2..16" {
15076                    description15181                    description
15077                      "Detect multiplier";15182                      "Detect multiplier";
15078                  }15183                  }
15079                }15184                }
15080                description15185                description
15081                  "Detect multiplier";15186                  "Detect multiplier";
15082              }15187              }
15083            }15188            }
15084            container keychain {15189            container keychain {
15085              must "name or inheritance-disable";15190              must "name or inheritance-disable";
15086              presence "Indicates a keychain node is configured.";15191              presence "Indicates a keychain node is configured.";
15087              description15192              description
15088                "Set keychain based authentication";15193                "Set keychain based authentication";
15089              leaf name {15194              leaf name {
15090                type string {15195                type string {
15091                  length "1..32" {15196                  length "1..32" {
15092                    description15197                    description
15093                      "Name of the key chain - maximum 32 characters";15198                      "Name of the key chain - maximum 32 characters";
15094                  }15199                  }
15095                }15200                }
15096                description15201                description
15097                  "Name of the key chain - maximum 32 characters";15202                  "Name of the key chain - maximum 32 characters";
15098              }15203              }
15099              container inheritance-disable {15204              container inheritance-disable {
15100                presence "Indicates a inheritance-disable node is configured.";15205                presence "Indicates a inheritance-disable node is configured.";
15101                description15206                description
15102                  "Prevent keychain from being inherited from parent";15207                  "Prevent keychain from being inherited from parent";
15103              }15208              }
15104            }15209            }
15105            container local-as {15210            container local-as {
15106              must "as-number or inheritance-disable";15211              must "as-number or inheritance-disable";
15107              presence "Indicates a local-as node is configured.";15212              presence "Indicates a local-as node is configured.";
15108              description15213              description
15109                "Specify local AS number";15214                "Specify local AS number";
15110              leaf as-number {15215              leaf as-number {
15111                type xr:Bgp-as-number;15216                type xr:Bgp-as-number;
15112                description15217                description
15113                  "bgp as-number";15218                  "bgp as-number";
15114              }15219              }
15115              container no-prepend {15220              container no-prepend {
15116                presence "Indicates a no-prepend node is configured.";15221                presence "Indicates a no-prepend node is configured.";
15117                description15222                description
15118                  "Do not prepend local AS to announcements from this neighbor";15223                  "Do not prepend local AS to announcements from this neighbor";
15119                container replace-as {15224                container replace-as {
15120                  presence "Indicates a replace-as node is configured.";15225                  presence "Indicates a replace-as node is configured.";
15121                  description15226                  description
15122                    "Prepend only local AS to announcements to this neighbor";15227                    "Prepend only local AS to announcements to this neighbor";
15123                  container dual-as {15228                  container dual-as {
15124                    presence "Indicates a dual-as node is configured.";15229                    presence "Indicates a dual-as node is configured.";
15125                    description15230                    description
15126                      "Dual-AS mode";15231                      "Dual-AS mode";
15127                  }15232                  }
15128                }15233                }
15129              }15234              }
15130              container inheritance-disable {15235              container inheritance-disable {
15131                presence "Indicates a inheritance-disable node is configured.";15236                presence "Indicates a inheritance-disable node is configured.";
15132                description15237                description
15133                  "Prevent local AS from being inherited from parent";15238                  "Prevent local AS from being inherited from parent";
15134              }15239              }
15135            }15240            }
15136            container password {15241            container password {
15137              must "encrypted or inheritance-disable";15242              must "encrypted or inheritance-disable";
15138              presence "Indicates a password node is configured.";15243              presence "Indicates a password node is configured.";
15139              description15244              description
15140                "Set a password";15245                "Set a password";
15141              leaf encrypted {15246              leaf encrypted {
15142                type xr:Proprietary-password;15247                type xr:Proprietary-password;
15143                description15248                description
15144                  "Specifies an ENCRYPTED password will follow";15249                  "Specifies an ENCRYPTED password will follow";
15145              }15250              }
15146              container inheritance-disable {15251              container inheritance-disable {
15147                presence "Indicates a inheritance-disable node is configured.";15252                presence "Indicates a inheritance-disable node is configured.";
15148                description15253                description
15149                  "Prevent password from being inherited from parent";15254                  "Prevent password from being inherited from parent";
15150              }15255              }
15151            }15256            }
15152            container receive-buffer-size {15257            container receive-buffer-size {
15153              presence "Indicates a receive-buffer-size node is configured.";15258              presence "Indicates a receive-buffer-size node is configured.";
15154              description15259              description
15155                "Set socket and BGP receive buffer size";15260                "Set socket and BGP receive buffer size";
15156              leaf receive-socket-buffer-size {15261              leaf receive-socket-buffer-size {
15157                type uint32 {15262                type uint32 {
15158                  range "512..131072" {15263                  range "512..131072" {
15159                    description15264                    description
15160                      "Receive socket buffer size in bytes";15265                      "Receive socket buffer size in bytes";
15161                  }15266                  }
15162                }15267                }
15163                mandatory true;15268                mandatory true;
15164                description15269                description
15165                  "Set socket and BGP receive buffer size";15270                  "Set socket and BGP receive buffer size";
15166              }15271              }
15167              leaf bgp-read-buffer-size {15272              leaf bgp-read-buffer-size {
15168                type uint32 {15273                type uint32 {
15169                  range "512..131072" {15274                  range "512..131072" {
15170                    description15275                    description
15171                      "BGP Read buffer size in bytes";15276                      "BGP Read buffer size in bytes";
15172                  }15277                  }
15173                }15278                }
15174                description15279                description
15175                  "BGP Read buffer size in bytes";15280                  "BGP Read buffer size in bytes";
15176              }15281              }
15177            }15282            }
15178            container send-buffer-size {15283            container send-buffer-size {
15179              presence "Indicates a send-buffer-size node is configured.";15284              presence "Indicates a send-buffer-size node is configured.";
15180              description15285              description
15181                "Set socket and BGP send buffer size";15286                "Set socket and BGP send buffer size";
15182              leaf send-socket-buffer-size {15287              leaf send-socket-buffer-size {
15183                type uint32 {15288                type uint32 {
15184                  range "4096..131072" {15289                  range "4096..131072" {
15185                    description15290                    description
15186                      "Send socket buffer size in bytes";15291                      "Send socket buffer size in bytes";
15187                  }15292                  }
15188                }15293                }
15189                mandatory true;15294                mandatory true;
15190                description15295                description
15191                  "Set socket and BGP send buffer size";15296                  "Set socket and BGP send buffer size";
15192              }15297              }
15193              leaf bgp-write-buffer-size {15298              leaf bgp-write-buffer-size {
15194                type uint32 {15299                type uint32 {
15195                  range "4096..131072" {15300                  range "4096..131072" {
15196                    description15301                    description
15197                      "BGP Write buffer size in bytes";15302                      "BGP Write buffer size in bytes";
15198                  }15303                  }
15199                }15304                }
15200                description15305                description
15201                  "BGP Write buffer size in bytes";15306                  "BGP Write buffer size in bytes";
15202              }15307              }
15203            }15308            }
15204            container shutdown {15309            container shutdown {
15205              presence "Indicates a shutdown node is configured.";15310              presence "Indicates a shutdown node is configured.";
15206              description15311              description
15207                "Administratively shut down this neighbor";15312                "Administratively shut down this neighbor";
15208              container inheritance-disable {15313              container inheritance-disable {
15209                presence "Indicates a inheritance-disable node is configured.";15314                presence "Indicates a inheritance-disable node is configured.";
15210                description15315                description
15211                  "Prevent this neighbor being shutdown, even if its parent is";15316                  "Prevent this neighbor being shutdown, even if its parent is";
15212              }15317              }
15213            }15318            }
15214            container fast-fallover {15319            container fast-fallover {
15215              presence "Indicates a fast-fallover node is configured.";15320              presence "Indicates a fast-fallover node is configured.";
15216              description15321              description
15217                "Force neighbor to be directly connected. Bring neighbor down if its interface goes down";15322                "Force neighbor to be directly connected. Bring neighbor down if its interface goes down";
15218              container inheritance-disable {15323              container inheritance-disable {
15219                presence "Indicates a inheritance-disable node is configured.";15324                presence "Indicates a inheritance-disable node is configured.";
15220                description15325                description
15221                  "Prevent this neighbor from inheriting this config from a group it is in";15326                  "Prevent this neighbor from inheriting this config from a group it is in";
15222              }15327              }
15223            }15328            }
15224            container timers {15329            container timers {
15225              presence "Indicates a timers node is configured.";15330              presence "Indicates a timers node is configured.";
15226              description15331              description
15227                "BGP per neighbor timers";15332                "BGP per neighbor timers";
15228              leaf keepalive-interval {15333              leaf keepalive-interval {
15229                type uint32 {15334                type uint32 {
15230                  range "0..65535" {15335                  range "0..65535" {
15231                    description15336                    description
15232                      "Keepalive interval";15337                      "Keepalive interval";
15233                  }15338                  }
15234                }15339                }
15235                mandatory true;15340                mandatory true;
15236                description15341                description
15237                  "BGP timers";15342                  "BGP timers";
15238              }15343              }
15239              leaf holdtime {15344              leaf holdtime {
15240                type union {15345                type union {
15241                  type uint32 {15346                  type uint32 {
15242                    range "0" {15347                    range "0" {
15243                      description15348                      description
15244                        "0 to disable keepalives/hold time.";15349                        "0 to disable keepalives/hold time.";
15245                    }15350                    }
15246                  }15351                  }
15247                  type uint32 {15352                  type uint32 {
15248                    range "3..65535" {15353                    range "3..65535" {
15249                      description15354                      description
15250                        "Holdtime.";15355                        "Holdtime.";
15251                    }15356                    }
15252                  }15357                  }
15253                }15358                }
15254                mandatory true;15359                mandatory true;
15255                description15360                description
15256                  "Holdtime. Set 0 to disable keepalives/hold time.";15361                  "Holdtime. Set 0 to disable keepalives/hold time.";
15257              }15362              }
15258              leaf minimum-acceptable-holdtime {15363              leaf minimum-acceptable-holdtime {
15259                type union {15364                type union {
15260                  type uint32 {15365                  type uint32 {
15261                    range "0" {15366                    range "0" {
15262                      description15367                      description
15263                        "0 to disable keepalives/hold time.";15368                        "0 to disable keepalives/hold time.";
15264                    }15369                    }
15265                  }15370                  }
15266                  type uint32 {15371                  type uint32 {
15267                    range "3..65535" {15372                    range "3..65535" {
15268                      description15373                      description
15269                        "Minimum acceptable holdtime from neighbor.";15374                        "Minimum acceptable holdtime from neighbor.";
15270                    }15375                    }
15271                  }15376                  }
15272                }15377                }
15273                description15378                description
15274                  "Minimum acceptable holdtime from neighbor. Set 0 to disable keepalives/hold time.";15379                  "Minimum acceptable holdtime from neighbor. Set 0 to disable keepalives/hold time.";
15275              }15380              }
15276            }15381            }
15277            container local {15382            container local {
15278              description15383              description
15279                "Configure local parameter";15384                "Configure local parameter";
15280              container address {15385              container address {
15281                must "ip-address or inheritance-disable";15386                must "ip-address or inheritance-disable";
15282                presence "Indicates a address node is configured.";15387                presence "Indicates a address node is configured.";
15283                description15388                description
15284                  "use configured local address for bgp peering";15389                  "use configured local address for bgp peering";
15285                leaf ip-address {15390                leaf ip-address {
15286                  type inet:ip-address-no-zone;15391                  type inet:ip-address-no-zone;
15287                  description15392                  description
15288                    "IPv4 address";15393                    "IPv4 address";
15289                }15394                }
15290                container inheritance-disable {15395                container inheritance-disable {
15291                  presence "Indicates a inheritance-disable node is configured.";15396                  presence "Indicates a inheritance-disable node is configured.";
15292                  description15397                  description
15293                    "Prevent local address from being inherited from parent";15398                    "Prevent local address from being inherited from parent";
15294                }15399                }
15295              }15400              }
15296            }15401            }
15297            container log {15402            container log {
15298              description15403              description
15299                "Logging update messages per neighbor";15404                "Logging update messages per neighbor";
15300              container message {15405              container message {
15301                description15406                description
15302                  "Logging update/notification messages per neighbor";15407                  "Logging update/notification messages per neighbor";
15303                container in {15408                container in {
15304                  description15409                  description
15305                    "Inbound log messages";15410                    "Inbound log messages";
15306                  leaf message-log-buffer-size {15411                  leaf message-log-buffer-size {
15307                    type uint32 {15412                    type uint32 {
15308                      range "1..500" {15413                      range "1..500" {
15309                        description15414                        description
15310                          "Range for message log buffer size";15415                          "Range for message log buffer size";
15311                      }15416                      }
15312                    }15417                    }
15313                    description15418                    description
15314                      "Range for message log buffer size";15419                      "Range for message log buffer size";
15315                  }15420                  }
15316                  container disable {15421                  container disable {
15317                    presence "Indicates a disable node is configured.";15422                    presence "Indicates a disable node is configured.";
15318                    description15423                    description
15319                      "Disable inbound message logging";15424                      "Disable inbound message logging";
15320                  }15425                  }
15321                  container inheritance-diable {15426                  container inheritance-diable {
15322                    presence "Indicates a inheritance-diable node is configured.";15427                    presence "Indicates a inheritance-diable node is configured.";
15323                    description15428                    description
15324                      "Prevents the msg log from being inherited from the parent";15429                      "Prevents the msg log from being inherited from the parent";
15325                  }15430                  }
15326                }15431                }
15327                container out {15432                container out {
15328                  description15433                  description
15329                    "Outbound log messages";15434                    "Outbound log messages";
15330                  leaf range-for-message-log-buffer {15435                  leaf range-for-message-log-buffer {
15331                    type uint32 {15436                    type uint32 {
15332                      range "1..100" {15437                      range "1..100" {
15333                        description15438                        description
15334                          "Range for message log buffer size";15439                          "Range for message log buffer size";
15335                      }15440                      }
15336                    }15441                    }
15337                    description15442                    description
15338                      "Range for message log buffer size";15443                      "Range for message log buffer size";
15339                  }15444                  }
15340                  container disable {15445                  container disable {
15341                    presence "Indicates a disable node is configured.";15446                    presence "Indicates a disable node is configured.";
15342                    description15447                    description
15343                      "Disable outbound message logging";15448                      "Disable outbound message logging";
15344                  }15449                  }
15345                  container inheritance-diable {15450                  container inheritance-diable {
15346                    presence "Indicates a inheritance-diable node is configured.";15451                    presence "Indicates a inheritance-diable node is configured.";
15347                    description15452                    description
15348                      "Prevents the msg log from being inherited from the parent";15453                      "Prevents the msg log from being inherited from the parent";
15349                  }15454                  }
15350                }15455                }
15351              }15456              }
15352              container neighbor {15457              container neighbor {
15353                description15458                description
15354                  "Log neighbor state info";15459                  "Log neighbor state info";
15355                container changes {15460                container changes {
15356                  description15461                  description
15357                    "Log neighbor state changes";15462                    "Log neighbor state changes";
15358                  container detail {15463                  container detail {
15359                    must "not(../disable or ../inheritance-disable)";15464                    must "not(../disable or ../inheritance-disable)";
15360                    presence "Indicates a detail node is configured.";15465                    presence "Indicates a detail node is configured.";
15361                    description15466                    description
15362                      "detail";15467                      "detail";
15363                  }15468                  }
15364                  container disable {15469                  container disable {
15365                    must "not(../detail or ../inheritance-disable)";15470                    must "not(../detail or ../inheritance-disable)";
15366                    presence "Indicates a disable node is configured.";15471                    presence "Indicates a disable node is configured.";
15367                    description15472                    description
15368                      "disable";15473                      "disable";
15369                  }15474                  }
15370                  container inheritance-disable {15475                  container inheritance-disable {
15371                    must "not(../detail or ../disable)";15476                    must "not(../detail or ../disable)";
15372                    presence "Indicates a inheritance-disable node is configured.";15477                    presence "Indicates a inheritance-disable node is configured.";
15373                    description15478                    description
15374                      "Prevents the log state changes from being inherited from the parent";15479                      "Prevents the log state changes from being inherited from the parent";
15375                  }15480                  }
15376                }15481                }
15377              }15482              }
15378            }15483            }
15379            leaf update-source {15484            leaf update-source {
15380              type xr:Interface-name;15485              type xr:Interface-name;
15381              description15486              description
15382                "Source of routing updates";15487                "Source of routing updates";
15383            }15488            }
15384            container local-address-subnet {15489            container local-address-subnet {
15385              description15490              description
15386                "Local address subnet of routing updates";15491                "Local address subnet of routing updates";
15387              leaf ip-address {15492              leaf ip-address {
15388                type inet:ip-address-no-zone;15493                type inet:ip-address-no-zone;
15389                description15494                description
15390                  "IP address and mask or masklength";15495                  "IP address and mask or masklength";
15391              }15496              }
15392              leaf mask-length {15497              leaf mask-length {
15393                type uint32 {15498                type uint32 {
15394                  range "0..128" {15499                  range "0..128" {
15395                    description15500                    description
15396                      "IP address mask length";15501                      "IP address mask length";
15397                  }15502                  }
15398                }15503                }
15399                description15504                description
15400                  "IP address and mask length";15505                  "IP address and mask length";
15401              }15506              }
15402            }15507            }
15403            container dmz-link-bandwidth {15508            container dmz-link-bandwidth {
15404              presence "Indicates a dmz-link-bandwidth node is configured.";15509              presence "Indicates a dmz-link-bandwidth node is configured.";
15405              description15510              description
15406                "Propagate the DMZ link bandwidth";15511                "Propagate the DMZ link bandwidth";
15407              container inheritance-disable {15512              container inheritance-disable {
15408                presence "Indicates a inheritance-disable node is configured.";15513                presence "Indicates a inheritance-disable node is configured.";
15409                description15514                description
15410                  "Prevent dmz-link-bandwidth from being inherited from the parent";15515                  "Prevent dmz-link-bandwidth from being inherited from the parent";
15411              }15516              }
15412            }15517            }
15413            container ebgp-recv-extcommunity-dmz {15518            container ebgp-recv-extcommunity-dmz {
15414              presence "Indicates a ebgp-recv-extcommunity-dmz node is configured.";15519              presence "Indicates a ebgp-recv-extcommunity-dmz node is configured.";
15415              description15520              description
15416                "Receive extcommunity dmz link bandwidth from ebgp neighbor";15521                "Receive extcommunity dmz link bandwidth from ebgp neighbor";
15417              container inheritance-disable {15522              container inheritance-disable {
15418                presence "Indicates a inheritance-disable node is configured.";15523                presence "Indicates a inheritance-disable node is configured.";
15419                description15524                description
15420                  "Prevent ebgp-send-community-dmz from being inherited from parent";15525                  "Prevent ebgp-send-community-dmz from being inherited from parent";
15421              }15526              }
15422            }15527            }
15423            container ebgp-send-extcommunity-dmz {15528            container ebgp-send-extcommunity-dmz {
15424              must "not(cumulative and inheritance-disable)";15529              must "not(cumulative and inheritance-disable)";
15425              presence "Indicates a ebgp-send-extcommunity-dmz node is configured.";15530              presence "Indicates a ebgp-send-extcommunity-dmz node is configured.";
15426              description15531              description
15427                "Send extended community dmz link bandwidth to ebgp neighbor";15532                "Send extended community dmz link bandwidth to ebgp neighbor";
15428              container cumulative {15533              container cumulative {
15429                presence "Indicates a cumulative node is configured.";15534                presence "Indicates a cumulative node is configured.";
15430                description15535                description
15431                  "Send cumulative community dmz link bandwidth of all multipaths to ebgp neighbor";15536                  "Send cumulative community dmz link bandwidth of all multipaths to ebgp neighbor";
15432              }15537              }
15433              container inheritance-disable {15538              container inheritance-disable {
15434                presence "Indicates a inheritance-disable node is configured.";15539                presence "Indicates a inheritance-disable node is configured.";
15435                description15540                description
15436                  "Prevent ebgp-send-extcommunity-dmz from being inherited from parent";15541                  "Prevent ebgp-send-extcommunity-dmz from being inherited from parent";
15437              }15542              }
15438            }15543            }
15439            container evpn-link-bandwidth {15544            container evpn-link-bandwidth {
15440              presence "Indicates a evpn-link-bandwidth node is configured.";15545              presence "Indicates a evpn-link-bandwidth node is configured.";
15441              description15546              description
15442                "Propagate the EVPN link bandwidth";15547                "Propagate the EVPN link bandwidth";
15443              leaf per-path {15548              leaf per-path {
15444                type uint32 {15549                type uint32 {
15445                  range "1..1000" {15550                  range "1..1000" {
15446                    description15551                    description
15447                      "Unit per-path";15552                      "Unit per-path";
15448                  }15553                  }
15449                }15554                }
15450                description15555                description
15451                  "EVPN Link Bandwidth using per-path generalized unit";15556                  "EVPN Link Bandwidth using per-path generalized unit";
15452              }15557              }
15453              container inheritance-disable {15558              container inheritance-disable {
15454                presence "Indicates a inheritance-disable node is configured.";15559                presence "Indicates a inheritance-disable node is configured.";
15455                description15560                description
15456                  "Prevent evpn-link-bandwidth from being inherited from the parent";15561                  "Prevent evpn-link-bandwidth from being inherited from the parent";
15457              }15562              }
15458            }15563            }
15459            container ttl-security {15564            container ttl-security {
15460              presence "Indicates a ttl-security node is configured.";15565              presence "Indicates a ttl-security node is configured.";
15461              description15566              description
15462                "Enable EBGP TTL security";15567                "Enable EBGP TTL security";
15463              container inheritance-disable {15568              container inheritance-disable {
15464                presence "Indicates a inheritance-disable node is configured.";15569                presence "Indicates a inheritance-disable node is configured.";
15465                description15570                description
15466                  "Prevent ttl-security from being inherited from the parent";15571                  "Prevent ttl-security from being inherited from the parent";
15467              }15572              }
15468            }15573            }
15469            container session-open-mode {15574            container session-open-mode {
15470              description15575              description
15471                "Establish BGP session using this TCP open mode";15576                "Establish BGP session using this TCP open mode";
15472              container active-only {15577              container active-only {
15473                must "not(../passive-only or ../both)";15578                must "not(../passive-only or ../both)";
15474                presence "Indicates a active-only node is configured.";15579                presence "Indicates a active-only node is configured.";
15475                description15580                description
15476                  "Active only";15581                  "Active only";
15477              }15582              }
15478              container passive-only {15583              container passive-only {
15479                must "not(../active-only or ../both)";15584                must "not(../active-only or ../both)";
15480                presence "Indicates a passive-only node is configured.";15585                presence "Indicates a passive-only node is configured.";
15481                description15586                description
15482                  "Passive only";15587                  "Passive only";
15483              }15588              }
15484              container both {15589              container both {
15485                must "not(../active-only or ../passive-only)";15590                must "not(../active-only or ../passive-only)";
15486                presence "Indicates a both node is configured.";15591                presence "Indicates a both node is configured.";
15487                description15592                description
15488                  "Prevent session-open-mode being inherited from the parent";15593                  "Prevent session-open-mode being inherited from the parent";
15489              }15594              }
15490            }15595            }
15491            leaf dscp {15596            leaf dscp {
15492              type enumeration {15597              type enumeration {
15493                enum "default" {15598                enum "default" {
15494                  value 0;15599                  value 0;
15495                  description15600                  description
15496                    "Set packets with default dscp (000000)";15601                    "Set packets with default dscp (000000)";
15497                }15602                }
15498                enum "cs1" {15603                enum "cs1" {
15499                  value 8;15604                  value 8;
15500                  description15605                  description
15501                    "Set packets with CS1(precedence 1) dscp (001000)";15606                    "Set packets with CS1(precedence 1) dscp (001000)";
15502                }15607                }
15503                enum "af11" {15608                enum "af11" {
15504                  value 10;15609                  value 10;
15505                  description15610                  description
15506                    "Set packets with AF11 dscp (001010)";15611                    "Set packets with AF11 dscp (001010)";
15507                }15612                }
15508                enum "af12" {15613                enum "af12" {
15509                  value 12;15614                  value 12;
15510                  description15615                  description
15511                    "Set packets with AF12 dscp (001100)";15616                    "Set packets with AF12 dscp (001100)";
15512                }15617                }
15513                enum "af13" {15618                enum "af13" {
15514                  value 14;15619                  value 14;
15515                  description15620                  description
15516                    "Set packets with AF13 dscp (001110)";15621                    "Set packets with AF13 dscp (001110)";
15517                }15622                }
15518                enum "cs2" {15623                enum "cs2" {
15519                  value 16;15624                  value 16;
15520                  description15625                  description
15521                    "Set packets with CS2(precedence 2) dscp (010000)";15626                    "Set packets with CS2(precedence 2) dscp (010000)";
15522                }15627                }
15523                enum "af21" {15628                enum "af21" {
15524                  value 18;15629                  value 18;
15525                  description15630                  description
15526                    "Set packets with AF21 dscp (010010)";15631                    "Set packets with AF21 dscp (010010)";
15527                }15632                }
15528                enum "af22" {15633                enum "af22" {
15529                  value 20;15634                  value 20;
15530                  description15635                  description
15531                    "Set packets with AF22 dscp (010100)";15636                    "Set packets with AF22 dscp (010100)";
15532                }15637                }
15533                enum "af23" {15638                enum "af23" {
15534                  value 22;15639                  value 22;
15535                  description15640                  description
15536                    "Set packets with AF23 dscp (010110)";15641                    "Set packets with AF23 dscp (010110)";
15537                }15642                }
15538                enum "cs3" {15643                enum "cs3" {
15539                  value 24;15644                  value 24;
15540                  description15645                  description
15541                    "Set packets with CS3(precedence 3) dscp (011000)";15646                    "Set packets with CS3(precedence 3) dscp (011000)";
15542                }15647                }
15543                enum "af31" {15648                enum "af31" {
15544                  value 26;15649                  value 26;
15545                  description15650                  description
15546                    "Set packets with AF31 dscp (011010)";15651                    "Set packets with AF31 dscp (011010)";
15547                }15652                }
15548                enum "af32" {15653                enum "af32" {
15549                  value 28;15654                  value 28;
15550                  description15655                  description
15551                    "Set packets with AF32 dscp (011100)";15656                    "Set packets with AF32 dscp (011100)";
15552                }15657                }
15553                enum "af33" {15658                enum "af33" {
15554                  value 30;15659                  value 30;
15555                  description15660                  description
15556                    "Set packets with AF33 dscp (011110)";15661                    "Set packets with AF33 dscp (011110)";
15557                }15662                }
15558                enum "cs4" {15663                enum "cs4" {
15559                  value 32;15664                  value 32;
15560                  description15665                  description
15561                    "Set packets with CS4(precedence 4) dscp (100000)";15666                    "Set packets with CS4(precedence 4) dscp (100000)";
15562                }15667                }
15563                enum "af41" {15668                enum "af41" {
15564                  value 34;15669                  value 34;
15565                  description15670                  description
15566                    "Set packets with AF41 dscp (100010)";15671                    "Set packets with AF41 dscp (100010)";
15567                }15672                }
15568                enum "af42" {15673                enum "af42" {
15569                  value 36;15674                  value 36;
15570                  description15675                  description
15571                    "Set packets with AF42 dscp (100100)";15676                    "Set packets with AF42 dscp (100100)";
15572                }15677                }
15573                enum "af43" {15678                enum "af43" {
15574                  value 38;15679                  value 38;
15575                  description15680                  description
15576                    "Set packets with AF43 dscp (100110)";15681                    "Set packets with AF43 dscp (100110)";
15577                }15682                }
15578                enum "cs5" {15683                enum "cs5" {
15579                  value 40;15684                  value 40;
15580                  description15685                  description
15581                    "Set packets with CS5(precedence 5) dscp (101000)";15686                    "Set packets with CS5(precedence 5) dscp (101000)";
15582                }15687                }
15583                enum "ef" {15688                enum "ef" {
15584                  value 46;15689                  value 46;
15585                  description15690                  description
15586                    "Set packets with EF dscp (101110)";15691                    "Set packets with EF dscp (101110)";
15587                }15692                }
15588                enum "cs6" {15693                enum "cs6" {
15589                  value 48;15694                  value 48;
15590                  description15695                  description
15591                    "Set packets with CS6(precedence 6) dscp (110000)";15696                    "Set packets with CS6(precedence 6) dscp (110000)";
15592                }15697                }
15593                enum "cs7" {15698                enum "cs7" {
15594                  value 56;15699                  value 56;
15595                  description15700                  description
15596                    "Set packets with CS7(precedence 7) dscp (111000)";15701                    "Set packets with CS7(precedence 7) dscp (111000)";
15597                }15702                }
15598              }15703              }
15599              description15704              description
15600                "Set IP DSCP (DiffServ CodePoint)";15705                "Set IP DSCP (DiffServ CodePoint)";
15601            }15706            }
15602            leaf precedence {15707            leaf precedence {
15603              type enumeration {15708              type enumeration {
15604                enum "routine" {15709                enum "routine" {
15605                  value 0;15710                  value 0;
15606                  description15711                  description
15607                    "Set packets with routine precedence (0)";15712                    "Set packets with routine precedence (0)";
15608                }15713                }
15609                enum "priority" {15714                enum "priority" {
15610                  value 1;15715                  value 1;
15611                  description15716                  description
15612                    "Set packets with priority precedence (1)";15717                    "Set packets with priority precedence (1)";
15613                }15718                }
15614                enum "immediate" {15719                enum "immediate" {
15615                  value 2;15720                  value 2;
15616                  description15721                  description
15617                    "Set packets with immediate precedence (2)";15722                    "Set packets with immediate precedence (2)";
15618                }15723                }
15619                enum "flash" {15724                enum "flash" {
15620                  value 3;15725                  value 3;
15621                  description15726                  description
15622                    "Set packets with flash precedence (3)";15727                    "Set packets with flash precedence (3)";
15623                }15728                }
15624                enum "flash-override" {15729                enum "flash-override" {
15625                  value 4;15730                  value 4;
15626                  description15731                  description
15627                    "Set packets with flash override precedence (4)";15732                    "Set packets with flash override precedence (4)";
15628                }15733                }
15629                enum "critical" {15734                enum "critical" {
15630                  value 5;15735                  value 5;
15631                  description15736                  description
15632                    "Set packets with critical precedence (5)";15737                    "Set packets with critical precedence (5)";
15633                }15738                }
15634                enum "internet" {15739                enum "internet" {
15635                  value 6;15740                  value 6;
15636                  description15741                  description
15637                    "Set packets with internetwork control precedence (6)";15742                    "Set packets with internetwork control precedence (6)";
15638                }15743                }
15639                enum "network" {15744                enum "network" {
15640                  value 7;15745                  value 7;
15641                  description15746                  description
15642                    "Set packets with network control precedence (7)";15747                    "Set packets with network control precedence (7)";
15643                }15748                }
15644              }15749              }
15645              description15750              description
15646                "Set precedence";15751                "Set precedence";
15647            }15752            }
15648            container capability {15753            container capability {
15649              description15754              description
15650                "Advertise capability to the peer";15755                "Advertise capability to the peer";
15651              container suppress {15756              container suppress {
15652                description15757                description
15653                  "Suppress advertising capability to the peer ";15758                  "Suppress advertising capability to the peer ";
15654                container four-byte-as {15759                container four-byte-as {
15655                  presence "Indicates a four-byte-as node is configured.";15760                  presence "Indicates a four-byte-as node is configured.";
15656                  description15761                  description
15657                    "4-byte-as capability";15762                    "4-byte-as capability";
15658                  container inheritance-disable {15763                  container inheritance-disable {
15659                    presence "Indicates a inheritance-disable node is configured.";15764                    presence "Indicates a inheritance-disable node is configured.";
15660                    description15765                    description
15661                      "Prevent capability suppress 4-type-as being inherited from the parent";15766                      "Prevent capability suppress 4-type-as being inherited from the parent";
15662                  }15767                  }
15663                }15768                }
15664                container all {15769                container all {
15665                  presence "Indicates a all node is configured.";15770                  presence "Indicates a all node is configured.";
15666                  description15771                  description
15667                    "All capabilities";15772                    "All capabilities";
15668                  container inheritance-disable {15773                  container inheritance-disable {
15669                    presence "Indicates a inheritance-disable node is configured.";15774                    presence "Indicates a inheritance-disable node is configured.";
15670                    description15775                    description
15671                      "Do not inherit this configuration from parent group";15776                      "Do not inherit this configuration from parent group";
15672                  }15777                  }
15673                }15778                }
15674                container extended-nexthop-encoding {15779                container extended-nexthop-encoding {
15675                  presence "Indicates a extended-nexthop-encoding node is configured.";15780                  presence "Indicates a extended-nexthop-encoding node is configured.";
15676                  description15781                  description
15677                    "Extended-nexthop-encoding capabilities (IETF RFC 5549)";15782                    "Extended-nexthop-encoding capabilities (IETF RFC 5549)";
15678                  container inheritance-disable {15783                  container inheritance-disable {
15679                    presence "Indicates a inheritance-disable node is configured.";15784                    presence "Indicates a inheritance-disable node is configured.";
15680                    description15785                    description
15681                      "Do not inherit this configuration from parent group";15786                      "Do not inherit this configuration from parent group";
15682                  }15787                  }
15683                }15788                }
15684              }15789              }
15685              container additional-paths {15790              container additional-paths {
15686                description15791                description
15687                  "Additional paths capability";15792                  "Additional paths capability";
15688                container send {15793                container send {
15689                  presence "Indicates a send node is configured.";15794                  presence "Indicates a send node is configured.";
15690                  description15795                  description
15691                    "Additional paths Send capability";15796                    "Additional paths Send capability";
15692                  container disable {15797                  container disable {
15693                    presence "Indicates a disable node is configured.";15798                    presence "Indicates a disable node is configured.";
15694                    description15799                    description
15695                      "Do not advertise additional paths Send capability";15800                      "Do not advertise additional paths Send capability";
15696                  }15801                  }
15697                }15802                }
15698                container receive {15803                container receive {
15699                  presence "Indicates a receive node is configured.";15804                  presence "Indicates a receive node is configured.";
15700                  description15805                  description
15701                    "Additional paths Receive capability";15806                    "Additional paths Receive capability";
15702                  container disable {15807                  container disable {
15703                    presence "Indicates a disable node is configured.";15808                    presence "Indicates a disable node is configured.";
15704                    description15809                    description
15705                      "Do not advertise additional paths Receive capability";15810                      "Do not advertise additional paths Receive capability";
15706                  }15811                  }
15707                }15812                }
15708              }15813              }
15709            }15814            }
15710            container graceful-restart {15815            container graceful-restart {
15711              presence "Indicates a graceful-restart node is configured.";15816              presence "Indicates a graceful-restart node is configured.";
15712              description15817              description
15713                "Enable graceful restart support for this neighbor";15818                "Enable graceful restart support for this neighbor";
15714              container disable {15819              container disable {
15715                presence "Indicates a disable node is configured.";15820                presence "Indicates a disable node is configured.";
15716                description15821                description
15717                  "Disable graceful restart support for this neighbor";15822                  "Disable graceful restart support for this neighbor";
15718              }15823              }
15719              leaf restart-time {15824              leaf restart-time {
15720                type uint32 {15825                type uint32 {
15721                  range "1..4095" {15826                  range "1..4095" {
15722                    description15827                    description
15723                      "Max time (seconds)";15828                      "Max time (seconds)";
15724                  }15829                  }
15725                }15830                }
15726                description15831                description
15727                  "Restart time advertised to the neighbor";15832                  "Restart time advertised to the neighbor";
15728              }15833              }
15729              leaf stalepath-time {15834              leaf stalepath-time {
15730                type uint32 {15835                type uint32 {
15731                  range "1..4095" {15836                  range "1..4095" {
15732                    description15837                    description
15733                      "Max time (seconds)";15838                      "Max time (seconds)";
15734                  }15839                  }
15735                }15840                }
15736                description15841                description
15737                  "Maximum time to wait for restart of GR capable peer";15842                  "Maximum time to wait for restart of GR capable peer";
15738              }15843              }
15739            }15844            }
15740            container enforce-first-as {15845            container enforce-first-as {
15741              presence "Indicates a enforce-first-as node is configured.";15846              presence "Indicates a enforce-first-as node is configured.";
15742              description15847              description
15743                "Enforce the first AS for EBGP routes";15848                "Enforce the first AS for EBGP routes";
15744              container disable {15849              container disable {
15745                presence "Indicates a disable node is configured.";15850                presence "Indicates a disable node is configured.";
15746                description15851                description
15747                  "Do not enforce the first AS for EBGP routes";15852                  "Do not enforce the first AS for EBGP routes";
15748              }15853              }
15749            }15854            }
15750            leaf maximum-peers {15855            leaf maximum-peers {
15751              type uint32 {15856              type uint32 {
15752                range "1..4095" {15857                range "1..4095" {
15753                  description15858                  description
15754                    "Maximum number of peers";15859                    "Maximum number of peers";
15755                }15860                }
15756              }15861              }
15757              description15862              description
15758                "Maximum dynamic neighbors";15863                "Maximum dynamic neighbors";
15759            }15864            }
15760            leaf idle-watch-time {15865            leaf idle-watch-time {
15761              type uint32 {15866              type uint32 {
15762                range "30..1800" {15867                range "30..1800" {
15763                  description15868                  description
15764                    "Max time (seconds)";15869                    "Max time (seconds)";
15765                }15870                }
15766              }15871              }
15767              description15872              description
15768                "Maximum time to wait for deletion of IDLE state dynamic peer";15873                "Maximum time to wait for deletion of IDLE state dynamic peer";
15769            }15874            }
15770            container egress-engineering {15875            container egress-engineering {
15771              presence "Indicates a egress-engineering node is configured.";15876              presence "Indicates a egress-engineering node is configured.";
15772              description15877              description
15773                "Enable egress peer engineering for this neighbor";15878                "Enable egress peer engineering for this neighbor";
15774              container inheritance-disable {15879              container inheritance-disable {
15775                presence "Indicates a inheritance-disable node is configured.";15880                presence "Indicates a inheritance-disable node is configured.";
15776                description15881                description
15777                  "Do not inherit egress-engineering from the parent";15882                  "Do not inherit egress-engineering from the parent";
15778              }15883              }
15779            }15884            }
15780            container peer-sets {15885            container peer-sets {
15781              description15886              description
15782                "Assign this neighbor to a peer-set used for egress peer engineering";15887                "Assign this neighbor to a peer-set used for egress peer engineering";
15783              list peer-set {15888              list peer-set {
15784                key "peer-set-id";15889                key "peer-set-id";
15785                description15890                description
15786                  "Assign this neighbor to a peer-set used for egress peer engineering";15891                  "Assign this neighbor to a peer-set used for egress peer engineering";
15787                leaf peer-set-id {15892                leaf peer-set-id {
15788                  type uint32 {15893                  type uint32 {
15789                    range "1..255" {15894                    range "1..255" {
15790                      description15895                      description
15791                        "Identity value of peer-set";15896                        "Identity value of peer-set";
15792                    }15897                    }
15793                  }15898                  }
15794                  description15899                  description
15795                    "Assign this neighbor to a peer-set used for egress peer engineering";15900                    "Assign this neighbor to a peer-set used for egress peer engineering";
15796                }15901                }
15797              }15902              }
15798            }15903            }
15799            container peer-node-sid {15904            container peer-node-sid {
15800              description15905              description
15801                "Assign this neighbor a manual SID for egress peer engineering";15906                "Assign this neighbor a manual SID for egress peer engineering";
15802              leaf index {15907              leaf index {
15803                type uint32 {15908                type uint32 {
15804                  range "0..1033575" {15909                  range "0..1033575" {
15805                    description15910                    description
15806                      "Segment Index to be assigned to this peer. The index will be off SRLB15911                      "Segment Index to be assigned to this peer. The index will be off SRLB
15807                       Note: This imaximum index configurable in dynaminc SRLB range.15912                       Note: This imaximum index configurable in dynaminc SRLB range.
15808                       Since SRLB ca dynamic range, actual maximum index can vary.15913                       Since SRLB ca dynamic range, actual maximum index can vary.
15809                       So please lothe currently configured SRLB range";15914                       So please lothe currently configured SRLB range";
15810                  }15915                  }
15811                }15916                }
15812                description15917                description
15813                  "Segment Index value which is offset of SRLB";15918                  "Segment Index value which is offset of SRLB";
15814              }15919              }
15815            }15920            }
15816            container ao {15921            container ao {
15817              description15922              description
15818                "Enable Authentiation Option";15923                "Enable Authentiation Option";
15819              leaf key-chain-name {15924              leaf key-chain-name {
15820                type string {15925                type string {
15821                  length "1..32" {15926                  length "1..32" {
15822                    description15927                    description
15823                      "Name of the key chain - maximum 32 characters";15928                      "Name of the key chain - maximum 32 characters";
15824                  }15929                  }
15825                }15930                }
15826                must "not(../inheritance-disable) and (../include-tcp-options/enable or ../include-tcp-options/disable)";15931                must "not(../inheritance-disable) and (../include-tcp-options/enable or ../include-tcp-options/disable)";
15827                description15932                description
15828                  "Name of the key chain - maximum 32 characters";15933                  "Name of the key chain - maximum 32 characters";
15829              }15934              }
15830              container include-tcp-options {15935              container include-tcp-options {
15831                description15936                description
15832                  "Include/Exclude other TCP options in the header";15937                  "Include/Exclude other TCP options in the header";
15833                container enable {15938                container enable {
15834                  must "not(../disable or ../../inheritance-disable)";15939                  must "not(../disable or ../../inheritance-disable)";
15835                  presence "Indicates a enable node is configured.";15940                  presence "Indicates a enable node is configured.";
15836                  description15941                  description
15837                    "Include other TCP options in the header";15942                    "Include other TCP options in the header";
15838                }15943                }
15839                container disable {15944                container disable {
15840                  must "not(../enable or ../../inheritance-disable)";15945                  must "not(../enable or ../../inheritance-disable)";
15841                  presence "Indicates a disable node is configured.";15946                  presence "Indicates a disable node is configured.";
15842                  description15947                  description
15843                    "Exclude other TCP options in the header";15948                    "Exclude other TCP options in the header";
15844                }15949                }
15845                container accept-ao-mismatch-connection {15950                container accept-ao-mismatch-connection {
15846                  must "../enable or ../disable";15951                  must "../enable or ../disable";
15847                  presence "Indicates a accept-ao-mismatch-connection node is configured.";15952                  presence "Indicates a accept-ao-mismatch-connection node is configured.";
15848                  description15953                  description
15849                    "Accept new connection even if AO mismatched";15954                    "Accept new connection even if AO mismatched";
15850                }15955                }
15851              }15956              }
15852              container inheritance-disable {15957              container inheritance-disable {
15853                must "not(../key-chain-name)";15958                must "not(../key-chain-name)";
15854                presence "Indicates a inheritance-disable node is configured.";15959                presence "Indicates a inheritance-disable node is configured.";
15855                description15960                description
15856                  "Prevent keychain from being inherited from parent";15961                  "Prevent keychain from being inherited from parent";
15857              }15962              }
15858            }15963            }
15859            container origin-as {15964            container origin-as {
15860              description15965              description
15861                "BGP origin-AS knobs";15966                "BGP origin-AS knobs";
15862              container validation {15967              container validation {
15863                description15968                description
15864                  "BGP origin-AS validation knobs";15969                  "BGP origin-AS validation knobs";
15865                container disable {15970                container disable {
15866                  presence "Indicates a disable node is configured.";15971                  presence "Indicates a disable node is configured.";
15867                  description15972                  description
15868                    "Disable RPKI origin-AS validation";15973                    "Disable RPKI origin-AS validation";
15869                }15974                }
15870              }15975              }
15871            }15976            }
15872            container bestpath {15977            container bestpath {
15873              description15978              description
15874                "Change default route selection criteria";15979                "Change default route selection criteria";
15875              container origin-as {15980              container origin-as {
15876                description15981                description
15877                  "BGP origin-AS knobs";15982                  "BGP origin-AS knobs";
15878                container allow {15983                container allow {
15879                  description15984                  description
15880                    "BGP origin-AS knobs";15985                    "BGP origin-AS knobs";
15881                  container invalid {15986                  container invalid {
15882                    presence "Indicates a invalid node is configured.";15987                    presence "Indicates a invalid node is configured.";
15883                    description15988                    description
15884                      "BGP bestpath selection will allow 'invalid' origin-AS";15989                      "BGP bestpath selection will allow 'invalid' origin-AS";
15885                  }15990                  }
15886                }15991                }
15887              }15992              }
15888            }15993            }
15889            leaf maximum-prefix-restart-time {15994            leaf maximum-prefix-restart-time {
15890              type uint32 {15995              type uint32 {
15891                range "1..65535" {15996                range "1..65535" {
15892                  description15997                  description
15893                    "Maximum prefix restart time (seconds)";15998                    "Maximum prefix restart time (seconds)";
15894                }15999                }
15895              }16000              }
15896              description16001              description
15897                "Restart timer interval";16002                "Restart timer interval";
15898            }16003            }
15899          }16004          }
15900          list neighbor-range {16005          list neighbor-range {
15901            key "neighbor-address prefix-length";16006            key "neighbor-address prefix-length";
15902            description16007            description
15903              "Neighbor address";16008              "Neighbor address";
15904            leaf neighbor-address {16009            leaf neighbor-address {
15905              type inet:ip-address-no-zone;16010              type inet:ip-address-no-zone;
15906              description16011              description
15907                "Neighbor address";16012                "Neighbor address";
15908            }16013            }
15909            leaf prefix-length {16014            leaf prefix-length {
15910              type uint32 {16015              type uint32 {
15911                range "0..127";16016                range "0..127";
15912              }16017              }
15913              description16018              description
15914                "Prefix length";16019                "Prefix length";
15915            }16020            }
15916            container address-families {16021            container address-families {
15917              description16022              description
15918                "Enter Address Family command mode";16023                "Enter Address Family command mode";
15919              list address-family {16024              list address-family {
15920                key "af-name";16025                key "af-name";
15921                description16026                description
15922                  "Enter Address Family command mode";16027                  "Enter Address Family command mode";
15923                leaf af-name {16028                leaf af-name {
15924                  type Bgp-address-family;16029                  type Bgp-address-family;
15925                  description16030                  description
15926                    "Enter Address Family command mode";16031                    "Enter Address Family command mode";
15927                }16032                }
15928                container use {16033                container use {
15929                  description16034                  description
15930                    "Inherit configuration for this address-family from a group";16035                    "Inherit configuration for this address-family from a group";
15931                  leaf af-group {16036                  leaf af-group {
15932                    type string {16037                    type string {
15933                      length "1..1024" {16038                      length "1..1024" {
15934                        description16039                        description
15935                          "AF group name";16040                          "AF group name";
15936                      }16041                      }
15937                    }16042                    }
15938                    description16043                    description
15939                      "Inherit configuration for this address-family from an af-group";16044                      "Inherit configuration for this address-family from an af-group";
15940                  }16045                  }
15941                }16046                }
15942                container capability {16047                container capability {
15943                  description16048                  description
15944                    "Advertise capability to the peer";16049                    "Advertise capability to the peer";
15945                  container orf {16050                  container orf {
15946                    description16051                    description
15947                      "Advertise ORF capability to the peer";16052                      "Advertise ORF capability to the peer";
15948                    container prefix {16053                    container prefix {
15949                      description16054                      description
15950                        "Advertise address prefix ORF capability to this neighbor";16055                        "Advertise address prefix ORF capability to this neighbor";
15951                      container receive {16056                      container receive {
15952                        must "not(../send or ../both or ../none)";16057                        must "not(../send or ../both or ../none)";
15953                        presence "Indicates a receive node is configured.";16058                        presence "Indicates a receive node is configured.";
15954                        description16059                        description
15955                          "Capability to RECEIVE the ORF from this neighbor";16060                          "Capability to RECEIVE the ORF from this neighbor";
15956                      }16061                      }
15957                      container send {16062                      container send {
15958                        must "not(../receive or ../both or ../none)";16063                        must "not(../receive or ../both or ../none)";
15959                        presence "Indicates a send node is configured.";16064                        presence "Indicates a send node is configured.";
15960                        description16065                        description
15961                          "Capability to SEND the ORF to this neighbor";16066                          "Capability to SEND the ORF to this neighbor";
15962                      }16067                      }
15963                      container both {16068                      container both {
15964                        must "not(../receive or ../send or ../none)";16069                        must "not(../receive or ../send or ../none)";
15965                        presence "Indicates a both node is configured.";16070                        presence "Indicates a both node is configured.";
15966                        description16071                        description
15967                          "Capability to RECEIVE and SEND the ORF from/to this neighbor";16072                          "Capability to RECEIVE and SEND the ORF from/to this neighbor";
15968                      }16073                      }
15969                      container none {16074                      container none {
15970                        must "not(../receive or ../send or ../both)";16075                        must "not(../receive or ../send or ../both)";
15971                        presence "Indicates a none node is configured.";16076                        presence "Indicates a none node is configured.";
15972                        description16077                        description
15973                          "No capability to RECEIVE or SEND the ORF from/to this neighbor";16078                          "No capability to RECEIVE or SEND the ORF from/to this neighbor";
15974                      }16079                      }
15975                    }16080                    }
15976                  }16081                  }
15977                }16082                }
15978                container default-originate {16083                container default-originate {
15979                  presence "Indicates a default-originate node is configured.";16084                  presence "Indicates a default-originate node is configured.";
15980                  description16085                  description
15981                    "Originate default route to this neighbor";16086                    "Originate default route to this neighbor";
15982                  leaf route-policy {16087                  leaf route-policy {
15983                    type xr:Route-policy-name;16088                    type xr:Route-policy-name;
15984                    description16089                    description
15985                      "Route policy to specify criteria to originate default";16090                      "Route policy to specify criteria to originate default";
15986                  }16091                  }
15987                  container inheritance-disable {16092                  container inheritance-disable {
15988                    must "not(../route-policy)";16093                    must "not(../route-policy)";
15989                    presence "Indicates a inheritance-disable node is configured.";16094                    presence "Indicates a inheritance-disable node is configured.";
15990                    description16095                    description
15991                      "Prevent default-originate being inherited from a parent group";16096                      "Prevent default-originate being inherited from a parent group";
15992                  }16097                  }
15993                }16098                }
15994                container maximum-prefix {16099                container maximum-prefix {
15995                  presence "Indicates a maximum-prefix node is configured.";16100                  presence "Indicates a maximum-prefix node is configured.";
15996                  description16101                  description
15997                    "Maximum number of prefixes to accept from this peer";16102                    "Maximum number of prefixes to accept from this peer";
15998                  leaf prefix-limit {16103                  leaf prefix-limit {
15999                    type uint32 {16104                    type uint32 {
16000                      range "1..4294967295" {16105                      range "1..4294967295" {
16001                        description16106                        description
16002                          "maximum no. of prefix limit";16107                          "maximum no. of prefix limit";
16003                      }16108                      }
16004                    }16109                    }
16005                    mandatory true;16110                    mandatory true;
16006                    description16111                    description
16007                      "Maximum number of prefixes to accept from this peer";16112                      "Maximum number of prefixes to accept from this peer";
16008                  }16113                  }
16009                  leaf threshold {16114                  leaf threshold {
16010                    type uint32 {16115                    type uint32 {
16011                      range "1..100" {16116                      range "1..100" {
16012                        description16117                        description
16013                          "Threshold value (%) at which to generate a warning msg";16118                          "Threshold value (%) at which to generate a warning msg";
16014                      }16119                      }
16015                    }16120                    }
16016                    mandatory true;16121                    mandatory true;
16017                    description16122                    description
16018                      "Threshold value (%) at which to generate a warning msg";16123                      "Threshold value (%) at which to generate a warning msg";
16019                  }16124                  }
16020                  container warning-only {16125                  container warning-only {
16021                    presence "Indicates a warning-only node is configured.";16126                    presence "Indicates a warning-only node is configured.";
16022                    description16127                    description
16023                      "Only give warning message when limit is exceeded";16128                      "Only give warning message when limit is exceeded";
16024                  }16129                  }
16025                  leaf restart {16130                  leaf restart {
16026                    type uint32 {16131                    type uint32 {
16027                      range "1..65535" {16132                      range "1..65535" {
16028                        description16133                        description
16029                          "Time interval (min) after which peering session will be reestablished";16134                          "Time interval (min) after which peering session will be reestablished";
16030                      }16135                      }
16031                    }16136                    }
16032                    description16137                    description
16033                      "Restart time interval";16138                      "Restart time interval";
16034                  }16139                  }
16035                  container discard-extra-paths {16140                  container discard-extra-paths {
16036                    presence "Indicates a discard-extra-paths node is configured.";16141                    presence "Indicates a discard-extra-paths node is configured.";
16037                    description16142                    description
16038                      "Discard extra paths when limit is exceeded";16143                      "Discard extra paths when limit is exceeded";
16039                  }16144                  }
16040                }16145                }
16041                leaf optimal-route-reflection {16146                leaf optimal-route-reflection {
16042                  type string {16147                  type string {
16043                    length "1..32" {16148                    length "1..32" {
16044                      description16149                      description
16045                        "ORR group name - maximum 32 characters";16150                        "ORR group name - maximum 32 characters";
16046                    }16151                    }
16047                  }16152                  }
16048                  description16153                  description
16049                    "Configure optiomal-route-reflection for this neighbor";16154                    "Configure optiomal-route-reflection for this neighbor";
16050                }16155                }
16051                container next-hop-self {16156                container next-hop-self {
16052                  presence "Indicates a next-hop-self node is configured.";16157                  presence "Indicates a next-hop-self node is configured.";
16053                  description16158                  description
16054                    "Disable the next hop calculation for this neighbor";16159                    "Disable the next hop calculation for this neighbor";
16055                  container inheritance-disable {16160                  container inheritance-disable {
16056                    presence "Indicates a inheritance-disable node is configured.";16161                    presence "Indicates a inheritance-disable node is configured.";
16057                    description16162                    description
16058                      "Prevent next-hop-self from being inherited from the parent";16163                      "Prevent next-hop-self from being inherited from the parent";
16059                  }16164                  }
16060                }16165                }
16061                container next-hop-unchanged {16166                container next-hop-unchanged {
16062                  presence "Indicates a next-hop-unchanged node is configured.";16167                  presence "Indicates a next-hop-unchanged node is configured.";
16063                  description16168                  description
16064                    "Do not overwrite next hop before advertising to eBGP peers";16169                    "Do not overwrite next hop before advertising to eBGP peers";
16065                  container inheritance-disable {16170                  container inheritance-disable {
16066                    presence "Indicates a inheritance-disable node is configured.";16171                    presence "Indicates a inheritance-disable node is configured.";
16067                    description16172                    description
16068                      "Prevent next-hop-unchanged from being inherited from the parent";16173                      "Prevent next-hop-unchanged from being inherited from the parent";
16069                  }16174                  }
16070                }16175                }
16071                container slow-peer {16176                container slow-peer {
16072                  description16177                  description
16073                    "Configure this neighbor as slow-peer";16178                    "Configure this neighbor as slow-peer";
16074                  container static {16179                  container static {
16075                    must "not(../dynamic)";16180                    must "not(../dynamic)";
16076                    presence "Indicates a static node is configured.";16181                    presence "Indicates a static node is configured.";
16077                    description16182                    description
16078                      "Configure this neighbor as static slow-peer";16183                      "Configure this neighbor as static slow-peer";
16079                  }16184                  }
16080                  container dynamic {16185                  container dynamic {
16081                    must "not(../static)";16186                    must "not(../static)";
16082                    presence "Indicates a dynamic node is configured.";16187                    presence "Indicates a dynamic node is configured.";
16083                    description16188                    description
16084                      "Configure this neighbor as dynamic slow-peer";16189                      "Configure this neighbor as dynamic slow-peer";
16085                    leaf threshold {16190                    leaf threshold {
16086                      type uint16 {16191                      type uint16 {
16087                        range "120..3600" {16192                        range "120..3600" {
16088                          description16193                          description
16089                            "Threshold (in seconds) to detect this neighbor as slow-peer";16194                            "Threshold (in seconds) to detect this neighbor as slow-peer";
16090                        }16195                        }
16091                      }16196                      }
16092                      description16197                      description
16093                        "Threshold (in seconds) to detect this neighbor as slow-peer";16198                        "Threshold (in seconds) to detect this neighbor as slow-peer";
16094                    }16199                    }
16095                    container disable {16200                    container disable {
16096                      presence "Indicates a disable node is configured.";16201                      presence "Indicates a disable node is configured.";
16097                      description16202                      description
16098                        "Disable dynamic slow-peer";16203                        "Disable dynamic slow-peer";
16099                    }16204                    }
16100                  }16205                  }
16101                }16206                }
16102                container origin-as {16207                container origin-as {
16103                  description16208                  description
16104                    "BGP origin-AS knobs";16209                    "BGP origin-AS knobs";
16105                  container validation {16210                  container validation {
16106                    description16211                    description
16107                      "BGP origin-AS validation knobs";16212                      "BGP origin-AS validation knobs";
16108                    container disable {16213                    container disable {
16109                      presence "Indicates a disable node is configured.";16214                      presence "Indicates a disable node is configured.";
16110                      description16215                      description
16111                        "Disable RPKI origin-AS validation";16216                        "Disable RPKI origin-AS validation";
16112                    }16217                    }
16113                  }16218                  }
16114                }16219                }
16115                container bestpath {16220                container bestpath {
16116                  description16221                  description
16117                    "Change default route selection criteria";16222                    "Change default route selection criteria";
16118                  container origin-as {16223                  container origin-as {
16119                    description16224                    description
16120                      "BGP origin-AS knobs";16225                      "BGP origin-AS knobs";
16121                    container allow {16226                    container allow {
16122                      description16227                      description
16123                        "BGP origin-AS knobs";16228                        "BGP origin-AS knobs";
16124                      container invalid {16229                      container invalid {
16125                        presence "Indicates a invalid node is configured.";16230                        presence "Indicates a invalid node is configured.";
16126                        description16231                        description
16127                          "BGP bestpath selection will allow 'invalid' origin-AS";16232                          "BGP bestpath selection will allow 'invalid' origin-AS";
16128                      }16233                      }
16129                    }16234                    }
16130                  }16235                  }
16131                }16236                }
16132                container route-policy {16237                container route-policy {
16133                  description16238                  description
16134                    "Apply route policy to neighbor";16239                    "Apply route policy to neighbor";
16135                  leaf in {16240                  leaf in {
16136                    type xr:Route-policy-name;16241                    type xr:Route-policy-name;
16137                    description16242                    description
16138                      "Apply route policy to inbound routes";16243                      "Apply route policy to inbound routes";
16139                  }16244                  }
16140                  leaf out {16245                  leaf out {
16141                    type xr:Route-policy-name;16246                    type xr:Route-policy-name;
16142                    description16247                    description
16143                      "Apply route policy to outbound routes";16248                      "Apply route policy to outbound routes";
16144                  }16249                  }
16145                  container retention {16250                  container retention {
16146                    description16251                    description
16147                      "Apply retention policy to inbound routes";16252                      "Apply retention policy to inbound routes";
16148                    leaf route-policy-name {16253                    leaf route-policy-name {
16149                      type xr:Route-policy-name;16254                      type xr:Route-policy-name;
16150                      must "../retention-time";16255                      must "../retention-time";
16151                      description16256                      description
16152                        "Apply retention policy to inbound routes";16257                        "Apply retention policy to inbound routes";
16153                    }16258                    }
16154                    leaf retention-time {16259                    leaf retention-time {
16155                      type uint32 {16260                      type uint32 {
16156                        range "0..4294967295" {16261                        range "0..4294967295" {
16157                          description16262                          description
16158                            "Max time (seconds)";16263                            "Max time (seconds)";
16159                        }16264                        }
16160                      }16265                      }
16161                      must "../route-policy-name";16266                      must "../route-policy-name";
16162                      description16267                      description
16163                        "Retention-time for this neighbor";16268                        "Retention-time for this neighbor";
16164                    }16269                    }
16165                  }16270                  }
16166                }16271                }
16167                container orf {16272                container orf {
16168                  description16273                  description
16169                    "Specify ORF and inbound filtering criteria";16274                    "Specify ORF and inbound filtering criteria";
16170                  leaf route-policy {16275                  leaf route-policy {
16171                    type xr:Route-policy-name;16276                    type xr:Route-policy-name;
16172                    description16277                    description
16173                      "Route policy to specify ORF and inbound filter";16278                      "Route policy to specify ORF and inbound filter";
16174                  }16279                  }
16175                }16280                }
16176                container replace-private-as {16281                container replace-private-as {
16177                  presence "Indicates a replace-private-as node is configured.";16282                  presence "Indicates a replace-private-as node is configured.";
16178                  description16283                  description
16179                    "Replace private AS number from outbound updates";16284                    "Replace private AS number from outbound updates";
16180                  container internal {16285                  container internal {
16181                    description16286                    description
16182                      "remove only if all ASes in the path are private";16287                      "remove only if all ASes in the path are private";
16183                  }16288                  }
16184                }16289                }
16185                container remove-private-as {16290                container remove-private-as {
16186                  presence "Indicates a remove-private-as node is configured.";16291                  presence "Indicates a remove-private-as node is configured.";
16187                  description16292                  description
16188                    "Remove private AS number from outbound updates";16293                    "Remove private AS number from outbound updates";
16189                  container entire-aspath {16294                  container entire-aspath {
16190                    must "not(../inheritance-disable or ../internal)";16295                    must "not(../inheritance-disable or ../internal)";
16191                    presence "Indicates a entire-aspath node is configured.";16296                    presence "Indicates a entire-aspath node is configured.";
16192                    description16297                    description
16193                      "remove only if all ASes in the path are private";16298                      "remove only if all ASes in the path are private";
16194                  }16299                  }
16195                  container inheritance-disable {16300                  container inheritance-disable {
16196                    must "not(../entire-aspath or ../internal)";16301                    must "not(../entire-aspath or ../internal)";
16197                    presence "Indicates a inheritance-disable node is configured.";16302                    presence "Indicates a inheritance-disable node is configured.";
16198                    description16303                    description
16199                      "Prevent remove-private-AS from being inherited from the parent";16304                      "Prevent remove-private-AS from being inherited from the parent";
16200                  }16305                  }
16201                  container internal {16306                  container internal {
16202                    must "not(../entire-aspath or ../inheritance-disable)";16307                    must "not(../entire-aspath or ../inheritance-disable)";
16203                    presence "Indicates a inheritance-disable node is configured.";16308                    presence "Indicates a inheritance-disable node is configured.";
16204                    description16309                    description
16205                      "remove only if all ASes in the path are private";16310                      "remove only if all ASes in the path are private";
16206                    container inheritance-disable {16311                    container inheritance-disable {
16207                      presence "Indicates a inheritance-disable node is configured.";16312                      presence "Indicates a inheritance-disable node is configured.";
16208                      description16313                      description
16209                        "Prevent remove-private-AS from being inherited from the parent";16314                        "Prevent remove-private-AS from being inherited from the parent";
16210                    }16315                    }
16211                  }16316                  }
16212                }16317                }
16213                container remove-private-as-inbound {16318                container remove-private-as-inbound {
16214                  must "not(entire-aspath and inheritance-disable)";16319                  must "not(entire-aspath and inheritance-disable)";
16215                  presence "Indicates a inbound node is configured.";16320                  presence "Indicates a inbound node is configured.";
16216                  description16321                  description
16217                    "Remove private AS number from inbound updates";16322                    "Remove private AS number from inbound updates";
16218                  container entire-aspath {16323                  container entire-aspath {
16219                    presence "Indicates a entire-aspath node is configured.";16324                    presence "Indicates a entire-aspath node is configured.";
16220                    description16325                    description
16221                      "remove only if all ASes in the path are private";16326                      "remove only if all ASes in the path are private";
16222                  }16327                  }
16223                  container inheritance-disable {16328                  container inheritance-disable {
16224                    presence "Indicates a inheritance-disable node is configured.";16329                    presence "Indicates a inheritance-disable node is configured.";
16225                    description16330                    description
16226                      "Prevent remove-private-AS from being inherited from the parent";16331                      "Prevent remove-private-AS from being inherited from the parent";
16227                  }16332                  }
16228                }16333                }
16229                container enforce-multiple-labels {16334                container enforce-multiple-labels {
16230                  presence "Indicates a enforce-multiple-labels node is configured.";16335                  presence "Indicates a enforce-multiple-labels node is configured.";
16231                  description16336                  description
16232                    "Enforce support for multiple labels (requires manual session flap)";16337                    "Enforce support for multiple labels (requires manual session flap)";
16233                  container inheritance-disable {16338                  container inheritance-disable {
16234                    presence "Indicates a inheritance-disable node is configured.";16339                    presence "Indicates a inheritance-disable node is configured.";
16235                    description16340                    description
16236                      "Prevent enforce-multiple-labels from being inherited from the parent";16341                      "Prevent enforce-multiple-labels from being inherited from the parent";
16237                  }16342                  }
16238                }16343                }
16239                container route-reflector-client {16344                container route-reflector-client {
16240                  presence "Indicates a route-reflector-client node is configured.";16345                  presence "Indicates a route-reflector-client node is configured.";
16241                  description16346                  description
16242                    "Configure a neighbor as Route Reflector client";16347                    "Configure a neighbor as Route Reflector client";
16243                  container inheritance-disable {16348                  container inheritance-disable {
16244                    presence "Indicates a inheritance-disable node is configured.";16349                    presence "Indicates a inheritance-disable node is configured.";
16245                    description16350                    description
16246                      "Prevent route-reflector-client from being inherited from the parent";16351                      "Prevent route-reflector-client from being inherited from the parent";
16247                  }16352                  }
16248                }16353                }
16249                container accept-route-legacy-rt {16354                container accept-route-legacy-rt {
16250                  presence "Indicates a accept-route-legacy-rt node is configured.";16355                  presence "Indicates a accept-route-legacy-rt node is configured.";
16251                  description16356                  description
16252                    "Configure a neighbor to support legacy PE for RT-Constraint AF";16357                    "Configure a neighbor to support legacy PE for RT-Constraint AF";
16253                  container inheritance-disable {16358                  container inheritance-disable {
16254                    presence "Indicates a inheritance-disable node is configured.";16359                    presence "Indicates a inheritance-disable node is configured.";
16255                    description16360                    description
16256                      "Prevent  accept-route-legacy-RT from being inherited from the parent";16361                      "Prevent  accept-route-legacy-RT from being inherited from the parent";
16257                  }16362                  }
16258                }16363                }
16259                container send-community-ebgp {16364                container send-community-ebgp {
16260                  presence "Indicates a send-community-ebgp node is configured.";16365                  presence "Indicates a send-community-ebgp node is configured.";
16261                  description16366                  description
16262                    "Send community attribute to this external neighbor";16367                    "Send community attribute to this external neighbor";
16263                  container inheritance-disable {16368                  container inheritance-disable {
16264                    presence "Indicates a inheritance-disable node is configured.";16369                    presence "Indicates a inheritance-disable node is configured.";
16265                    description16370                    description
16266                      "Prevent send-community-ebgp from being inherited from the parent";16371                      "Prevent send-community-ebgp from being inherited from the parent";
16267                  }16372                  }
16268                }16373                }
16269                container send-community-gshut-ebgp {16374                container send-community-gshut-ebgp {
16270                  presence "Indicates a send-community-gshut-ebgp node is configured.";16375                  presence "Indicates a send-community-gshut-ebgp node is configured.";
16271                  description16376                  description
16272                    "Allow the g-shut community to be sent to this external neighbor";16377                    "Allow the g-shut community to be sent to this external neighbor";
16273                  container inheritance-disable {16378                  container inheritance-disable {
16274                    presence "Indicates a inheritance-disable node is configured.";16379                    presence "Indicates a inheritance-disable node is configured.";
16275                    description16380                    description
16276                      "Prevent send-community-gshut-ebgp from being inherited from the parent";16381                      "Prevent send-community-gshut-ebgp from being inherited from the parent";
16277                  }16382                  }
16278                }16383                }
16279                container send-extended-community-ebgp {16384                container send-extended-community-ebgp {
16280                  presence "Indicates a send-extended-community-ebgp node is configured.";16385                  presence "Indicates a send-extended-community-ebgp node is configured.";
16281                  description16386                  description
16282                    "Send extended community attribute to this external neighbor";16387                    "Send extended community attribute to this external neighbor";
16283                  container inheritance-disable {16388                  container inheritance-disable {
16284                    presence "Indicates a inheritance-disable node is configured.";16389                    presence "Indicates a inheritance-disable node is configured.";
16285                    description16390                    description
16286                      "Prevent send-extended-community-ebgp from being inherited from parent";16391                      "Prevent send-extended-community-ebgp from being inherited from parent";
16287                  }16392                  }
16288                }16393                }
16289                container soft-reconfiguration {16394                container soft-reconfiguration {
16290                  description16395                  description
16291                    "Per neighbor soft reconfiguration";16396                    "Per neighbor soft reconfiguration";
16292                  container inbound {16397                  container inbound {
16293                    presence "Indicates a inbound node is configured.";16398                    presence "Indicates a inbound node is configured.";
16294                    description16399                    description
16295                      "Allow inbound soft reconfiguration for this neighbor";16400                      "Allow inbound soft reconfiguration for this neighbor";
16296                    container rpki-dropped-only {16401                    container rpki-dropped-only {
16297                      must "not(../rpki-tested-only or ../always or ../inheritance-disable)";16402                      must "not(../rpki-tested-only or ../always or ../inheritance-disable)";
16298                      presence "Indicates a rpki-dropped-only node is configured.";16403                      presence "Indicates a rpki-dropped-only node is configured.";
16299                      description16404                      description
16300                        "Use soft-reconfig, for paths dropped by route-policy which have RPKI validity state check";16405                        "Use soft-reconfig, for paths dropped by route-policy which have RPKI validity state check";
16301                    }16406                    }
16302                    container rpki-tested-only {16407                    container rpki-tested-only {
16303                      must "not(../rpki-dropped-only or ../always or ../inheritance-disable)";16408                      must "not(../rpki-dropped-only or ../always or ../inheritance-disable)";
16304                      presence "Indicates a rpki-tested-only node is configured.";16409                      presence "Indicates a rpki-tested-only node is configured.";
16305                      description16410                      description
16306                        "Use soft-reconfig for paths tested or dropped by route-policy which have RPKI validity state check";16411                        "Use soft-reconfig for paths tested or dropped by route-policy which have RPKI validity state check";
16307                    }16412                    }
16308                    container always {16413                    container always {
16309                      must "not(../rpki-dropped-only or ../rpki-tested-only or ../inheritance-disable)";16414                      must "not(../rpki-dropped-only or ../rpki-tested-only or ../inheritance-disable)";
16310                      presence "Indicates a always node is configured.";16415                      presence "Indicates a always node is configured.";
16311                      description16416                      description
16312                        "Always use soft reconfig, even if route refresh is supported";16417                        "Always use soft reconfig, even if route refresh is supported";
16313                    }16418                    }
16314                    container inheritance-disable {16419                    container inheritance-disable {
16315                      must "not(../rpki-dropped-only or ../rpki-tested-only or ../always)";16420                      must "not(../rpki-dropped-only or ../rpki-tested-only or ../always)";
16316                      presence "Indicates a inheritance-disable node is configured.";16421                      presence "Indicates a inheritance-disable node is configured.";
16317                      description16422                      description
16318                        "Prevent soft-reconfiguration from being inherited from the parent";16423                        "Prevent soft-reconfiguration from being inherited from the parent";
16319                    }16424                    }
16320                  }16425                  }
16321                }16426                }
16322                container update {16427                container update {
16323                  description16428                  description
16324                    "BGP out bound message";16429                    "BGP out bound message";
16325                  container out {16430                  container out {
16326                    description16431                    description
16327                      "BGP out bound message handling";16432                      "BGP out bound message handling";
16328                    container originator-loopcheck {16433                    container originator-loopcheck {
16329                      presence "Indicates a originator-loopcheck node is configured.";16434                      presence "Indicates a originator-loopcheck node is configured.";
16330                      description16435                      description
16331                        "Loop check for same originator which sent the route";16436                        "Loop check for same originator which sent the route";
16332                      container disable {16437                      container disable {
16333                        presence "Indicates a disable node is configured.";16438                        presence "Indicates a disable node is configured.";
16334                        description16439                        description
16335                          "Disable originator loop check";16440                          "Disable originator loop check";
16336                      }16441                      }
16337                    }16442                    }
16338                  }16443                  }
16339                }16444                }
16340                container advertise {16445                container advertise {
16341                  description16446                  description
16342                    "Per neighbor advertisement options";16447                    "Per neighbor advertisement options";
16343                  container permanent-network {16448                  container permanent-network {
16344                    presence "Indicates a permanent-network node is configured.";16449                    presence "Indicates a permanent-network node is configured.";
16345                    description16450                    description
16346                      "Allow permanent networks for this neighbor";16451                      "Allow permanent networks for this neighbor";
16347                  }16452                  }
16348                  container local-labeled-route {16453                  container local-labeled-route {
16349                    presence "Indicates a local-labeled-route node is configured.";16454                    presence "Indicates a local-labeled-route node is configured.";
16350                    description16455                    description
16351                      "Advertisement of routes with local-label";16456                      "Advertisement of routes with local-label";
16352                    container disable {16457                    container disable {
16353                      presence "Indicates a disable node is configured.";16458                      presence "Indicates a disable node is configured.";
16354                      description16459                      description
16355                        "Do not advertise routes with local-label via Unicast SAFI";16460                        "Do not advertise routes with local-label via Unicast SAFI";
16356                    }16461                    }
16357                  }16462                  }
16358                }16463                }
16359                leaf weight {16464                leaf weight {
16360                  type uint32 {16465                  type uint32 {
16361                    range "0..65535" {16466                    range "0..65535" {
16362                      description16467                      description
16363                        "default weight";16468                        "default weight";
16364                    }16469                    }
16365                  }16470                  }
16366                  description16471                  description
16367                    "Set default weight for routes from this neighbor";16472                    "Set default weight for routes from this neighbor";
16368                }16473                }
16369                container allowas-in {16474                container allowas-in {
16370                  presence "Indicates a allowas-in node is configured.";16475                  presence "Indicates a allowas-in node is configured.";
16371                  description16476                  description
16372                    "Allow as-path with my AS present in it";16477                    "Allow as-path with my AS present in it";
16373                  leaf number-of-occurences {16478                  leaf number-of-occurences {
16374                    type uint32 {16479                    type uint32 {
16375                      range "1..10" {16480                      range "1..10" {
16376                        description16481                        description
16377                          "Number of occurences of AS number";16482                          "Number of occurences of AS number";
16378                      }16483                      }
16379                    }16484                    }
16380                    description16485                    description
16381                      "Number of occurences of AS number";16486                      "Number of occurences of AS number";
16382                  }16487                  }
16383                }16488                }
16384                container allowconfedas-in {16489                container allowconfedas-in {
16385                  presence "Indicates a allowconfedas-in node is configured.";16490                  presence "Indicates a allowconfedas-in node is configured.";
16386                  description16491                  description
16387                    "Allow as-path with my confederation AS present in it";16492                    "Allow as-path with my confederation AS present in it";
16388                  leaf number-of-occurences {16493                  leaf number-of-occurences {
16389                    type uint32 {16494                    type uint32 {
16390                      range "1..10" {16495                      range "1..10" {
16391                        description16496                        description
16392                          "Number of occurences of confederation AS number";16497                          "Number of occurences of confederation AS number";
16393                      }16498                      }
16394                    }16499                    }
16395                    description16500                    description
16396                      "Number of occurences of confederation AS number";16501                      "Number of occurences of confederation AS number";
16397                  }16502                  }
16398                }16503                }
16399                container long-lived-graceful-restart {16504                container long-lived-graceful-restart {
16400                  description16505                  description
16401                    "Enable long lived graceful restart support";16506                    "Enable long lived graceful restart support";
16402                  container stale-time {16507                  container stale-time {
16403                    description16508                    description
16404                      "Maximum time to wait before purging long-lived stale routes";16509                      "Maximum time to wait before purging long-lived stale routes";
16405                    leaf send {16510                    leaf send {
16406                      type uint32 {16511                      type uint32 {
16407                        range "0..16777215" {16512                        range "0..16777215" {
16408                          description16513                          description
16409                            "Max time (seconds)";16514                            "Max time (seconds)";
16410                        }16515                        }
16411                      }16516                      }
16412                      description16517                      description
16413                        "Stale-time sent in LLGR Capability";16518                        "Stale-time sent in LLGR Capability";
16414                    }16519                    }
16415                    leaf accept {16520                    leaf accept {
16416                      type uint32 {16521                      type uint32 {
16417                        range "0..16777215" {16522                        range "0..16777215" {
16418                          description16523                          description
16419                            "Max time (seconds)";16524                            "Max time (seconds)";
16420                        }16525                        }
16421                      }16526                      }
16422                      description16527                      description
16423                        "Maximum stale-time acceptable from neighbor";16528                        "Maximum stale-time acceptable from neighbor";
16424                    }16529                    }
16425                  }16530                  }
16426                  container capable {16531                  container capable {
16427                    presence "Indicates a capable node is configured.";16532                    presence "Indicates a capable node is configured.";
16428                    description16533                    description
16429                      "Treat neighbor as LLGR capable";16534                      "Treat neighbor as LLGR capable";
16430                  }16535                  }
16431                }16536                }
16432                container as-override {16537                container as-override {
16433                  presence "Indicates a as-override node is configured.";16538                  presence "Indicates a as-override node is configured.";
16434                  description16539                  description
16435                    "Override matching AS-number while sending update";16540                    "Override matching AS-number while sending update";
16436                  container inheritance-disable {16541                  container inheritance-disable {
16437                    presence "Indicates a inheritance-disable node is configured.";16542                    presence "Indicates a inheritance-disable node is configured.";
16438                    description16543                    description
16439                      "Prevent as-override from being inherited from the parent";16544                      "Prevent as-override from being inherited from the parent";
16440                  }16545                  }
16441                }16546                }
16442                container aigp {16547                container aigp {
16443                  presence "Indicates a aigp node is configured.";16548                  presence "Indicates a aigp node is configured.";
16444                  description16549                  description
16445                    "Enable AIGP for this neighbor ";16550                    "Enable AIGP for this neighbor ";
16446                  container disable {16551                  container disable {
16447                    presence "Indicates a disable node is configured.";16552                    presence "Indicates a disable node is configured.";
16448                    description16553                    description
16449                      "Disable AIGP";16554                      "Disable AIGP";
16450                  }16555                  }
16451                }16556                }
16452                container aigp-send {16557                container aigp-send {
16453                  description16558                  description
16454                    "Copy AIGP";16559                    "Copy AIGP";
16455                  container cost-community {16560                  container cost-community {
16456                    description16561                    description
16457                      "Send AIGP value in Cost Community";16562                      "Send AIGP value in Cost Community";
16458                    leaf cost-community-id {16563                    leaf cost-community-id {
16459                      type uint32 {16564                      type uint32 {
16460                        range "0..255" {16565                        range "0..255" {
16461                          description16566                          description
16462                            "Cost community ID";16567                            "Cost community ID";
16463                        }16568                        }
16464                      }16569                      }
16465                      must "not(../disable)";16570                      must "not(../disable)";
16466                      description16571                      description
16467                        "Cost community ID";16572                        "Cost community ID";
16468                    }16573                    }
16469                    container poi {16574                    container poi {
16470                      must "(igp-cost or pre-bestpath) and not(igp-cost and pre-bestpath)";16575                      must "(igp-cost or pre-bestpath) and not(igp-cost and pre-bestpath)";
16471                      presence "Indicates a poi node is configured.";16576                      presence "Indicates a poi node is configured.";
16472                      description16577                      description
16473                        "Point of insertion for bestpath calculation";16578                        "Point of insertion for bestpath calculation";
16474                      container igp-cost {16579                      container igp-cost {
16475                        presence "Indicates a igp-cost node is configured.";16580                        presence "Indicates a igp-cost node is configured.";
16476                        description16581                        description
16477                          "Cost community is used after IGP distance to next hop";16582                          "Cost community is used after IGP distance to next hop";
16478                        container transitive {16583                        container transitive {
16479                          presence "Indicates a transitive node is configured.";16584                          presence "Indicates a transitive node is configured.";
16480                          description16585                          description
16481                            "Enable transitive cost community";16586                            "Enable transitive cost community";
16482                        }16587                        }
16483                      }16588                      }
16484                      container pre-bestpath {16589                      container pre-bestpath {
16485                        presence "Indicates a pre-bestpath node is configured.";16590                        presence "Indicates a pre-bestpath node is configured.";
16486                        description16591                        description
16487                          "Cost community is first step in best path calculation";16592                          "Cost community is first step in best path calculation";
16488                        container transitive {16593                        container transitive {
16489                          presence "Indicates a transitive node is configured.";16594                          presence "Indicates a transitive node is configured.";
16490                          description16595                          description
16491                            "Enable transitive cost community";16596                            "Enable transitive cost community";
16492                        }16597                        }
16493                      }16598                      }
16494                    }16599                    }
16495                    container disable {16600                    container disable {
16496                      must "not(../cost-community-id)";16601                      must "not(../cost-community-id)";
16497                      presence "Indicates a disable node is configured.";16602                      presence "Indicates a disable node is configured.";
16498                      description16603                      description
16499                        "Disable aigp send cost-community";16604                        "Disable aigp send cost-community";
16500                    }16605                    }
16501                  }16606                  }
16502                  container med {16607                  container med {
16503                    presence "Indicates a med node is configured.";16608                    presence "Indicates a med node is configured.";
16504                    description16609                    description
16505                      "Send AIGP value in MED";16610                      "Send AIGP value in MED";
16506                    container disable {16611                    container disable {
16507                      presence "Indicates a disable node is configured.";16612                      presence "Indicates a disable node is configured.";
16508                      description16613                      description
16509                        "Disable aigp send med";16614                        "Disable aigp send med";
16510                    }16615                    }
16511                  }16616                  }
16512                }16617                }
16513                container validation {16618                container validation {
16514                  when "../af-name = 'ipv4-flowspec' or ../af-name = 'ipv6-flowspec'";16619                  when "../af-name = 'ipv4-flowspec' or ../af-name = 'ipv6-flowspec'";
16515                  presence "Indicates a validation node is configured.";16620                  presence "Indicates a validation node is configured.";
16516                  description16621                  description
16517                    "Flowspec Validation for this neighbor ";16622                    "Flowspec Validation for this neighbor ";
16518                  container disable {16623                  container disable {
16519                    presence "Indicates a disable node is configured.";16624                    presence "Indicates a disable node is configured.";
16520                    description16625                    description
16521                      "Disable Flowspec Validation";16626                      "Disable Flowspec Validation";
16522                  }16627                  }
16523                  container redirect {16628                  container redirect {
16524                    description16629                    description
16525                      "Flowspec Redirect nexthop Validation";16630                      "Flowspec Redirect nexthop Validation";
16526                    container disable {16631                    container disable {
16527                      presence "Indicates a disable node is configured.";16632                      presence "Indicates a disable node is configured.";
16528                      description16633                      description
16529                        "Disable Flowspec Redirect nexthop Validation";16634                        "Disable Flowspec Redirect nexthop Validation";
16530                    }16635                    }
16531                  }16636                  }
16532                }16637                }
16533                container send-multicast-attributes {16638                container send-multicast-attributes {
16534                  when "../af-name = 'ipv4-unicast' or ../af-name = 'ipv6-unicast' or ../af-name = 'ipv4-labeled-unicast' or ../af-name = 'ipv6-labeled-unicast' or ../af-name = 'ipv4-multicast' or ../af-name = 'ipv6-multicast' or ../af-name = 'ipv4-mvpn' or ../af-name = 'ipv6-mvpn'";16639                  when "../af-name = 'ipv4-unicast' or ../af-name = 'ipv6-unicast' or ../af-name = 'ipv4-labeled-unicast' or ../af-name = 'ipv6-labeled-unicast' or ../af-name = 'ipv4-multicast' or ../af-name = 'ipv6-multicast' or ../af-name = 'ipv4-mvpn' or ../af-name = 'ipv6-mvpn'";
16535                  presence "Indicates a send-multicast-attributes node is configured.";16640                  presence "Indicates a send-multicast-attributes node is configured.";
16536                  description16641                  description
16537                    "Send multicast attributes to this neighbor ";16642                    "Send multicast attributes to this neighbor ";
16538                  container disable {16643                  container disable {
16539                    presence "Indicates a disable node is configured.";16644                    presence "Indicates a disable node is configured.";
16540                    description16645                    description
16541                      "Disable send multicast attribute";16646                      "Disable send multicast attribute";
16542                  }16647                  }
16543                }16648                }
16544                container signalling {16649                container signalling {
16545                  description16650                  description
16546                    "Signalling protocols to disable, BGP or LDP";16651                    "Signalling protocols to disable, BGP or LDP";
16547                  container bgp {16652                  container bgp {
16548                    description16653                    description
16549                      "Select BGP to disable";16654                      "Select BGP to disable";
16550                    container disable {16655                    container disable {
16551                      presence "Indicates a disable node is configured.";16656                      presence "Indicates a disable node is configured.";
16552                      description16657                      description
16553                        "Disable Signalling type";16658                        "Disable Signalling type";
16554                    }16659                    }
16555                  }16660                  }
16556                  container ldp {16661                  container ldp {
16557                    description16662                    description
16558                      "Select LDP to disable";16663                      "Select LDP to disable";
16559                    container disable {16664                    container disable {
16560                      presence "Indicates a disable node is configured.";16665                      presence "Indicates a disable node is configured.";
16561                      description16666                      description
16562                        "Disable Signalling type";16667                        "Disable Signalling type";
16563                    }16668                    }
16564                  }16669                  }
16565                }16670                }
16566                container accept-own {16671                container accept-own {
16567                  presence "Indicates a accept-own node is configured.";16672                  presence "Indicates a accept-own node is configured.";
16568                  description16673                  description
16569                    "Handle self-originated routes with Accept-Own community";16674                    "Handle self-originated routes with Accept-Own community";
16570                  container inheritance-disable {16675                  container inheritance-disable {
16571                    presence "Indicates a inheritance-disable node is configured.";16676                    presence "Indicates a inheritance-disable node is configured.";
16572                    description16677                    description
16573                      "Prevent item being inherited from a parent group";16678                      "Prevent item being inherited from a parent group";
16574                  }16679                  }
16575                }16680                }
16576              }16681              }
16577            }16682            }
16578            container update {16683            container update {
16579              description16684              description
16580                "BGP Update configuration";16685                "BGP Update configuration";
16581              container in {16686              container in {
16582                description16687                description
16583                  "Inbound update message handling";16688                  "Inbound update message handling";
16584                container filtering {16689                container filtering {
16585                  presence "Indicates a filtering node is configured.";16690                  presence "Indicates a filtering node is configured.";
16586                  description16691                  description
16587                    "Inbound update message filtering";16692                    "Inbound update message filtering";
16588                  container message {16693                  container message {
16589                    description16694                    description
16590                      "Filtered update messages";16695                      "Filtered update messages";
16591                    container buffers {16696                    container buffers {
16592                      presence "Indicates a buffers node is configured.";16697                      presence "Indicates a buffers node is configured.";
16593                      description16698                      description
16594                        "Filtered update message buffers";16699                        "Filtered update message buffers";
16595                      leaf number-of-buffers {16700                      leaf number-of-buffers {
16596                        type uint32 {16701                        type uint32 {
16597                          range "0..25" {16702                          range "0..25" {
16598                            description16703                            description
16599                              "Number of buffers to store filtered update messages (resizing does not take effect after filtering action has started)";16704                              "Number of buffers to store filtered update messages (resizing does not take effect after filtering action has started)";
16600                          }16705                          }
16601                        }16706                        }
16602                        mandatory true;16707                        mandatory true;
16603                        description16708                        description
16604                          "Filtered update message buffers";16709                          "Filtered update message buffers";
16605                      }16710                      }
16606                      container non-circular {16711                      container non-circular {
16607                        presence "Indicates a non-circular node is configured.";16712                        presence "Indicates a non-circular node is configured.";
16608                        description16713                        description
16609                          "Message buffer list is not circular";16714                          "Message buffer list is not circular";
16610                      }16715                      }
16611                    }16716                    }
16612                  }16717                  }
16613                  container logging {16718                  container logging {
16614                    description16719                    description
16615                      "Update filtering syslog message";16720                      "Update filtering syslog message";
16616                    container disable {16721                    container disable {
16617                      presence "Indicates a disable node is configured.";16722                      presence "Indicates a disable node is configured.";
16618                      description16723                      description
16619                        "Disable update filtering syslog message";16724                        "Disable update filtering syslog message";
16620                    }16725                    }
16621                  }16726                  }
16622                  container attribute-filter {16727                  container attribute-filter {
16623                    description16728                    description
16624                      "Attribute-filter configuration";16729                      "Attribute-filter configuration";
16625                    leaf group {16730                    leaf group {
16626                      type string {16731                      type string {
16627                        length "1..1024" {16732                        length "1..1024" {
16628                          description16733                          description
16629                            "Attribute-filter group name";16734                            "Attribute-filter group name";
16630                        }16735                        }
16631                      }16736                      }
16632                      description16737                      description
16633                        "Attribute-filter group configuration";16738                        "Attribute-filter group configuration";
16634                    }16739                    }
16635                  }16740                  }
16636                }16741                }
16637                container merge {16742                container merge {
16638                  description16743                  description
16639                    "Merge incoming updates";16744                    "Merge incoming updates";
16640                  container safi {16745                  container safi {
16641                    description16746                    description
16642                      "SAFI of the NLRIs to merge";16747                      "SAFI of the NLRIs to merge";
16643                    container unicast {16748                    container unicast {
16644                      description16749                      description
16645                        "IPv4/IPv6 unicast paths";16750                        "IPv4/IPv6 unicast paths";
16646                      container labeled-unicast {16751                      container labeled-unicast {
16647                        presence "Indicates a labeled-unicast node is configured.";16752                        presence "Indicates a labeled-unicast node is configured.";
16648                        description16753                        description
16649                          "IPv4/IPv6 labeled-unicast paths";16754                          "IPv4/IPv6 labeled-unicast paths";
16650                        container inheritance-disable {16755                        container inheritance-disable {
16651                          presence "Indicates a inheritance-disable node is configured.";16756                          presence "Indicates a inheritance-disable node is configured.";
16652                          description16757                          description
16653                            "Do not inherit this configuration from parent group";16758                            "Do not inherit this configuration from parent group";
16654                        }16759                        }
16655                      }16760                      }
16656                    }16761                    }
16657                  }16762                  }
16658                }16763                }
16659              }16764              }
16660            }16765            }
16661            container graceful-maintenance {16766            container graceful-maintenance {
16662              presence "Indicates a graceful-maintenance node is configured.";16767              presence "Indicates a graceful-maintenance node is configured.";
16663              description16768              description
16664                "Attributes for Graceful Maintenance. This will cause16769                "Attributes for Graceful Maintenance. This will cause
16665                 neig de-prer routes from this router and16770                 neig de-prer routes from this router and
16666                 choonates.his allows the router to be16771                 choonates.his allows the router to be
16667                 brour out  service gracefully.";16772                 brour out  service gracefully.";
16668              container local-preference {16773              container local-preference {
16669                must "local-preference-value or inheritance-disable";16774                must "local-preference-value or inheritance-disable";
16670                presence "Indicates a local-preference node is configured.";16775                presence "Indicates a local-preference node is configured.";
16671                description16776                description
16672                  "local preference with which to advertise routes to ibgps. Deflt=No Touch";16777                  "local preference with which to advertise routes to ibgps. Deflt=No Touch";
16673                leaf local-preference-value {16778                leaf local-preference-value {
16674                  type uint32 {16779                  type uint32 {
16675                    range "0..4294967295" {16780                    range "0..4294967295" {
16676                      description16781                      description
16677                        "Range of values for Local Preference";16782                        "Range of values for Local Preference";
16678                    }16783                    }
16679                  }16784                  }
16680                  description16785                  description
16681                    "Range of values for Local Preference";16786                    "Range of values for Local Preference";
16682                }16787                }
16683                container inheritance-disable {16788                container inheritance-disable {
16684                  presence "Indicates a inheritance-disable node is configured.";16789                  presence "Indicates a inheritance-disable node is configured.";
16685                  description16790                  description
16686                    "Prevent local preference from being inherited from the parent";16791                    "Prevent local preference from being inherited from the parent";
16687                }16792                }
16688              }16793              }
16689              container as-prepends {16794              container as-prepends {
16690                must "number-of-as-prepends or inheritance-disable";16795                must "number-of-as-prepends or inheritance-disable";
16691                presence "Indicates a as-prepends node is configured.";16796                presence "Indicates a as-prepends node is configured.";
16692                description16797                description
16693                  "Number of times to prepend the local AS number to the16798                  "Number of times to prepend the local AS number to the
16694                   AS poutes.efault=0";16799                   AS poutes.efault=0";
16695                leaf number-of-as-prepends {16800                leaf number-of-as-prepends {
16696                  type uint32 {16801                  type uint32 {
16697                    range "0..6" {16802                    range "0..6" {
16698                      description16803                      description
16699                        "Range of number of AS prepends";16804                        "Range of number of AS prepends";
16700                    }16805                    }
16701                  }16806                  }
16702                  description16807                  description
16703                    "Range of number of AS prepends";16808                    "Range of number of AS prepends";
16704                }16809                }
16705                container inheritance-disable {16810                container inheritance-disable {
16706                  presence "Indicates a inheritance-disable node is configured.";16811                  presence "Indicates a inheritance-disable node is configured.";
16707                  description16812                  description
16708                    "Prevent AS prepends from being inherited from the parent";16813                    "Prevent AS prepends from being inherited from the parent";
16709                }16814                }
16710              }16815              }
16711              container activate {16816              container activate {
16712                presence "Indicates a activate node is configured.";16817                presence "Indicates a activate node is configured.";
16713                description16818                description
16714                  "Routes will be announced with the graceful maintenance16819                  "Routes will be announced with the graceful maintenance
16715                   attrhile aivated either here or under router16820                   attrhile aivated either here or under router
16716                   bgp ation.hile activated, all routes to this16821                   bgp ation.hile activated, all routes to this
16717                   neigl be aounced with the attributes16822                   neigl be aounced with the attributes
16718                   confere anall routes from this neighbor will16823                   confere anall routes from this neighbor will
16719                   be a to otr neighbors with the graceful16824                   be a to otr neighbors with the graceful
16720                   mainattribes configured under those16825                   mainattribes configured under those
16721                   neighe g-st community will be announced16826                   neighe g-st community will be announced
16722                   regaf the her attributes configured here. To16827                   regaf the her attributes configured here. To
16723                   alloshut cmunity to be announced to ebgp16828                   alloshut cmunity to be announced to ebgp
16724                   neighe sencommunity-gshut-ebgp configuration16829                   neighe sencommunity-gshut-ebgp configuration
16725                   is aired. te: changes to the attributes will16830                   is aired. te: changes to the attributes will
16726                   not ect whe activated.";16831                   not ect whe activated.";
16727                container inheritance-disable {16832                container inheritance-disable {
16728                  presence "Indicates a inheritance-disable node is configured.";16833                  presence "Indicates a inheritance-disable node is configured.";
16729                  description16834                  description
16730                    "Prevent activate from being inherited from the parent";16835                    "Prevent activate from being inherited from the parent";
16731                }16836                }
16732              }16837              }
16733            }16838            }
16734            leaf remote-as {16839            leaf remote-as {
16735              type xr:Bgp-as-number;16840              type xr:Bgp-as-number;
16736              description16841              description
16737                "bgp as-number";16842                "bgp as-number";
16738            }16843            }
16739            leaf remote-as-list {16844            leaf remote-as-list {
16740              type string {16845              type string {
16741                length "1..1024" {16846                length "1..1024" {
16742                  description16847                  description
16743                    "as-list name";16848                    "as-list name";
16744                }16849                }
16745              }16850              }
16746              description16851              description
16747                "Remote as-list configuration";16852                "Remote as-list configuration";
16748            }16853            }
16749            container use {16854            container use {
16750              description16855              description
16751                "Inherit configuration from a group";16856                "Inherit configuration from a group";
16752              leaf session-group {16857              leaf session-group {
16753                type string {16858                type string {
16754                  length "1..1024" {16859                  length "1..1024" {
16755                    description16860                    description
16756                      "Session group name";16861                      "Session group name";
16757                  }16862                  }
16758                }16863                }
16759                description16864                description
16760                  "Inherit address-family independent config from a session-group";16865                  "Inherit address-family independent config from a session-group";
16761              }16866              }
16762              leaf neighbor-group {16867              leaf neighbor-group {
16763                type string {16868                type string {
16764                  length "1..1024" {16869                  length "1..1024" {
16765                    description16870                    description
16766                      "Neighbor-group name";16871                      "Neighbor-group name";
16767                  }16872                  }
16768                }16873                }
16769                description16874                description
16770                  "Inherit configuration from a neighbor-group";16875                  "Inherit configuration from a neighbor-group";
16771              }16876              }
16772            }16877            }
16773            container advertisement-interval {16878            container advertisement-interval {
16774              presence "Indicates a advertisement-interval node is configured.";16879              presence "Indicates a advertisement-interval node is configured.";
16775              description16880              description
16776                "Minimum interval between sending BGP routing updates";16881                "Minimum interval between sending BGP routing updates";
16777              leaf time-in-seconds {16882              leaf time-in-seconds {
16778                type uint32 {16883                type uint32 {
16779                  range "0..600" {16884                  range "0..600" {
16780                    description16885                    description
16781                      "time in seconds";16886                      "time in seconds";
16782                  }16887                  }
16783                }16888                }
16784                mandatory true;16889                mandatory true;
16785                description16890                description
16786                  "Minimum interval between sending BGP routing updates";16891                  "Minimum interval between sending BGP routing updates";
16787              }16892              }
16788              leaf time-in-milliseconds {16893              leaf time-in-milliseconds {
16789                type uint32 {16894                type uint32 {
16790                  range "0..999" {16895                  range "0..999" {
16791                    description16896                    description
16792                      "time in milliseconds";16897                      "time in milliseconds";
16793                  }16898                  }
16794                }16899                }
16795                description16900                description
16796                  "time in milliseconds";16901                  "time in milliseconds";
16797              }16902              }
16798            }16903            }
16799            leaf description {16904            leaf description {
16800              type string {16905              type string {
16801                length "1..1024" {16906                length "1..1024" {
16802                  description16907                  description
16803                    "Up to 256 characters describing this neighbor";16908                    "Up to 256 characters describing this neighbor";
16804                }16909                }
16805              }16910              }
16806              description16911              description
16807                "Neighbor specific description";16912                "Neighbor specific description";
16808            }16913            }
16809            container ignore-connected-check {16914            container ignore-connected-check {
16810              presence "Indicates a ignore-connected-check node is configured.";16915              presence "Indicates a ignore-connected-check node is configured.";
16811              description16916              description
16812                "Bypass the directly connected nexthop check for single-hop eBGP peering";16917                "Bypass the directly connected nexthop check for single-hop eBGP peering";
16813              container inheritance-disable {16918              container inheritance-disable {
16814                presence "Indicates a inheritance-disable node is configured.";16919                presence "Indicates a inheritance-disable node is configured.";
16815                description16920                description
16816                  "Prevent ignore-connected-check from being inherited from the parent";16921                  "Prevent ignore-connected-check from being inherited from the parent";
16817              }16922              }
16818            }16923            }
16819            container internal-vpn-client {16924            container internal-vpn-client {
16820              presence "Indicates a internal-vpn-client node is configured.";16925              presence "Indicates a internal-vpn-client node is configured.";
16821              description16926              description
16822                "Preserve iBGP CE neighbor path in ATTR_SET across VPN core";16927                "Preserve iBGP CE neighbor path in ATTR_SET across VPN core";
16823            }16928            }
16824            container ebgp-multihop {16929            container ebgp-multihop {
16825              presence "Indicates a ebgp-multihop node is configured.";16930              presence "Indicates a ebgp-multihop node is configured.";
16826              description16931              description
16827                "Allow EBGP neighbors not on directly connected networks";16932                "Allow EBGP neighbors not on directly connected networks";
16828              leaf maximum-hop-count {16933              leaf maximum-hop-count {
16829                type uint32 {16934                type uint32 {
16830                  range "1..255" {16935                  range "1..255" {
16831                    description16936                    description
16832                      "maximum hop count";16937                      "maximum hop count";
16833                  }16938                  }
16834                }16939                }
16835                mandatory true;16940                mandatory true;
16836                description16941                description
16837                  "maximum hop count";16942                  "maximum hop count";
16838              }16943              }
16839              container mpls {16944              container mpls {
16840                presence "Indicates a mpls node is configured.";16945                presence "Indicates a mpls node is configured.";
16841                description16946                description
16842                  "Disable BGP MPLS forwarding";16947                  "Disable BGP MPLS forwarding";
16843              }16948              }
16844            }16949            }
16845            container tcp {16950            container tcp {
16846              description16951              description
16847                "TCP session configuration commands";16952                "TCP session configuration commands";
16848              container mss {16953              container mss {
16849                must "initial-mss or inheritance-disable";16954                must "initial-mss or inheritance-disable";
16850                presence "Indicates a mss node is configured.";16955                presence "Indicates a mss node is configured.";
16851                description16956                description
16852                  "Maximum Segment Size";16957                  "Maximum Segment Size";
16853                leaf initial-mss {16958                leaf initial-mss {
16854                  type uint32 {16959                  type uint32 {
16855                    range "68..10000" {16960                    range "68..10000" {
16856                      description16961                      description
16857                        "TCP initial maximum segment size";16962                        "TCP initial maximum segment size";
16858                    }16963                    }
16859                  }16964                  }
16860                  description16965                  description
16861                    "TCP initial maximum segment size";16966                    "TCP initial maximum segment size";
16862                }16967                }
16863                container inheritance-disable {16968                container inheritance-disable {
16864                  presence "Indicates a inheritance-disable node is configured.";16969                  presence "Indicates a inheritance-disable node is configured.";
16865                  description16970                  description
16866                    "Prevent tcp mss from being inherited from the parent";16971                    "Prevent tcp mss from being inherited from the parent";
16867                }16972                }
16868              }16973              }
16869            }16974            }
16870            container bmp-activate {16975            container bmp-activate {
16871              description16976              description
16872                "Enable BMP logging for this neighbor";16977                "Enable BMP logging for this neighbor";
16873              container servers {16978              container servers {
16874                description16979                description
16875                  "Enable BMP connection to particular server";16980                  "Enable BMP connection to particular server";
16876                list server {16981                list server {
16877                  key "server-id";16982                  key "server-id";
16878                  description16983                  description
16879                    "Enable BMP connection to particular server";16984                    "Enable BMP connection to particular server";
16880                  leaf server-id {16985                  leaf server-id {
16881                    type uint32 {16986                    type uint32 {
16882                      range "1..8" {16987                      range "1..8" {
16883                        description16988                        description
16884                          "Enable BMP connection to particular server";16989                          "Enable BMP connection to particular server";
16885                      }16990                      }
16886                    }16991                    }
16887                    description16992                    description
16888                      "Enable BMP connection to particular server";16993                      "Enable BMP connection to particular server";
16889                  }16994                  }
16890                }16995                }
16891              }16996              }
16892            }16997            }
16893            container bfd {16998            container bfd {
16894              description16999              description
16895                "Configure BFD parameters";17000                "Configure BFD parameters";
16896              container fast-detect {17001              container fast-detect {
16897                must "not(strict-mode and disable)";17002                must "not(strict-mode and disable)";
16898                presence "Indicates a fast-detect node is configured.";17003                presence "Indicates a fast-detect node is configured.";
16899                description17004                description
16900                  "Enable Fast detection";17005                  "Enable Fast detection";
16901                container strict-mode {17006                container strict-mode {
16902                  presence "Indicates a strict-mode node is configured.";17007                  presence "Indicates a strict-mode node is configured.";
16903                  description17008                  description
16904                    "Hold down neighbor session until BFD session is up";17009                    "Hold down neighbor session until BFD session is up";
16905                }17010                }
16906                container disable {17011                container disable {
16907                  presence "Indicates a disable node is configured.";17012                  presence "Indicates a disable node is configured.";
16908                  description17013                  description
16909                    "Prevent bfd settings from being inherited from the parent";17014                    "Prevent bfd settings from being inherited from the parent";
16910                }17015                }
16911              }17016              }
16912              leaf minimum-interval {17017              leaf minimum-interval {
16913                type uint32 {17018                type uint32 {
16914                  range "3..30000" {17019                  range "3..30000" {
16915                    description17020                    description
16916                      "hello interval in milli-seconds";17021                      "hello interval in milli-seconds";
16917                  }17022                  }
16918                }17023                }
16919                description17024                description
16920                  "Hello interval";17025                  "Hello interval";
16921              }17026              }
16922              leaf multiplier {17027              leaf multiplier {
16923                type uint32 {17028                type uint32 {
16924                  range "2..16" {17029                  range "2..16" {
16925                    description17030                    description
16926                      "Detect multiplier";17031                      "Detect multiplier";
16927                  }17032                  }
16928                }17033                }
16929                description17034                description
16930                  "Detect multiplier";17035                  "Detect multiplier";
16931              }17036              }
16932            }17037            }
16933            container keychain {17038            container keychain {
16934              must "name or inheritance-disable";17039              must "name or inheritance-disable";
16935              presence "Indicates a keychain node is configured.";17040              presence "Indicates a keychain node is configured.";
16936              description17041              description
16937                "Set keychain based authentication";17042                "Set keychain based authentication";
16938              leaf name {17043              leaf name {
16939                type string {17044                type string {
16940                  length "1..32" {17045                  length "1..32" {
16941                    description17046                    description
16942                      "Name of the key chain - maximum 32 characters";17047                      "Name of the key chain - maximum 32 characters";
16943                  }17048                  }
16944                }17049                }
16945                description17050                description
16946                  "Name of the key chain - maximum 32 characters";17051                  "Name of the key chain - maximum 32 characters";
16947              }17052              }
16948              container inheritance-disable {17053              container inheritance-disable {
16949                presence "Indicates a inheritance-disable node is configured.";17054                presence "Indicates a inheritance-disable node is configured.";
16950                description17055                description
16951                  "Prevent keychain from being inherited from parent";17056                  "Prevent keychain from being inherited from parent";
16952              }17057              }
16953            }17058            }
16954            container local-as {17059            container local-as {
16955              must "as-number or inheritance-disable";17060              must "as-number or inheritance-disable";
16956              presence "Indicates a local-as node is configured.";17061              presence "Indicates a local-as node is configured.";
16957              description17062              description
16958                "Specify local AS number";17063                "Specify local AS number";
16959              leaf as-number {17064              leaf as-number {
16960                type xr:Bgp-as-number;17065                type xr:Bgp-as-number;
16961                description17066                description
16962                  "bgp as-number";17067                  "bgp as-number";
16963              }17068              }
16964              container no-prepend {17069              container no-prepend {
16965                presence "Indicates a no-prepend node is configured.";17070                presence "Indicates a no-prepend node is configured.";
16966                description17071                description
16967                  "Do not prepend local AS to announcements from this neighbor";17072                  "Do not prepend local AS to announcements from this neighbor";
16968                container replace-as {17073                container replace-as {
16969                  presence "Indicates a replace-as node is configured.";17074                  presence "Indicates a replace-as node is configured.";
16970                  description17075                  description
16971                    "Prepend only local AS to announcements to this neighbor";17076                    "Prepend only local AS to announcements to this neighbor";
16972                  container dual-as {17077                  container dual-as {
16973                    presence "Indicates a dual-as node is configured.";17078                    presence "Indicates a dual-as node is configured.";
16974                    description17079                    description
16975                      "Dual-AS mode";17080                      "Dual-AS mode";
16976                  }17081                  }
16977                }17082                }
16978              }17083              }
16979              container inheritance-disable {17084              container inheritance-disable {
16980                presence "Indicates a inheritance-disable node is configured.";17085                presence "Indicates a inheritance-disable node is configured.";
16981                description17086                description
16982                  "Prevent local AS from being inherited from parent";17087                  "Prevent local AS from being inherited from parent";
16983              }17088              }
16984            }17089            }
16985            container password {17090            container password {
16986              must "encrypted or inheritance-disable";17091              must "encrypted or inheritance-disable";
16987              presence "Indicates a password node is configured.";17092              presence "Indicates a password node is configured.";
16988              description17093              description
16989                "Set a password";17094                "Set a password";
16990              leaf encrypted {17095              leaf encrypted {
16991                type xr:Proprietary-password;17096                type xr:Proprietary-password;
16992                description17097                description
16993                  "Specifies an ENCRYPTED password will follow";17098                  "Specifies an ENCRYPTED password will follow";
16994              }17099              }
16995              container inheritance-disable {17100              container inheritance-disable {
16996                presence "Indicates a inheritance-disable node is configured.";17101                presence "Indicates a inheritance-disable node is configured.";
16997                description17102                description
16998                  "Prevent password from being inherited from parent";17103                  "Prevent password from being inherited from parent";
16999              }17104              }
17000            }17105            }
17001            container receive-buffer-size {17106            container receive-buffer-size {
17002              presence "Indicates a receive-buffer-size node is configured.";17107              presence "Indicates a receive-buffer-size node is configured.";
17003              description17108              description
17004                "Set socket and BGP receive buffer size";17109                "Set socket and BGP receive buffer size";
17005              leaf receive-socket-buffer-size {17110              leaf receive-socket-buffer-size {
17006                type uint32 {17111                type uint32 {
17007                  range "512..131072" {17112                  range "512..131072" {
17008                    description17113                    description
17009                      "Receive socket buffer size in bytes";17114                      "Receive socket buffer size in bytes";
17010                  }17115                  }
17011                }17116                }
17012                mandatory true;17117                mandatory true;
17013                description17118                description
17014                  "Set socket and BGP receive buffer size";17119                  "Set socket and BGP receive buffer size";
17015              }17120              }
17016              leaf bgp-read-buffer-size {17121              leaf bgp-read-buffer-size {
17017                type uint32 {17122                type uint32 {
17018                  range "512..131072" {17123                  range "512..131072" {
17019                    description17124                    description
17020                      "BGP Read buffer size in bytes";17125                      "BGP Read buffer size in bytes";
17021                  }17126                  }
17022                }17127                }
17023                description17128                description
17024                  "BGP Read buffer size in bytes";17129                  "BGP Read buffer size in bytes";
17025              }17130              }
17026            }17131            }
17027            container send-buffer-size {17132            container send-buffer-size {
17028              presence "Indicates a send-buffer-size node is configured.";17133              presence "Indicates a send-buffer-size node is configured.";
17029              description17134              description
17030                "Set socket and BGP send buffer size";17135                "Set socket and BGP send buffer size";
17031              leaf send-socket-buffer-size {17136              leaf send-socket-buffer-size {
17032                type uint32 {17137                type uint32 {
17033                  range "4096..131072" {17138                  range "4096..131072" {
17034                    description17139                    description
17035                      "Send socket buffer size in bytes";17140                      "Send socket buffer size in bytes";
17036                  }17141                  }
17037                }17142                }
17038                mandatory true;17143                mandatory true;
17039                description17144                description
17040                  "Set socket and BGP send buffer size";17145                  "Set socket and BGP send buffer size";
17041              }17146              }
17042              leaf bgp-write-buffer-size {17147              leaf bgp-write-buffer-size {
17043                type uint32 {17148                type uint32 {
17044                  range "4096..131072" {17149                  range "4096..131072" {
17045                    description17150                    description
17046                      "BGP Write buffer size in bytes";17151                      "BGP Write buffer size in bytes";
17047                  }17152                  }
17048                }17153                }
17049                description17154                description
17050                  "BGP Write buffer size in bytes";17155                  "BGP Write buffer size in bytes";
17051              }17156              }
17052            }17157            }
17053            container shutdown {17158            container shutdown {
17054              presence "Indicates a shutdown node is configured.";17159              presence "Indicates a shutdown node is configured.";
17055              description17160              description
17056                "Administratively shut down this neighbor";17161                "Administratively shut down this neighbor";
17057              container inheritance-disable {17162              container inheritance-disable {
17058                presence "Indicates a inheritance-disable node is configured.";17163                presence "Indicates a inheritance-disable node is configured.";
17059                description17164                description
17060                  "Prevent this neighbor being shutdown, even if its parent is";17165                  "Prevent this neighbor being shutdown, even if its parent is";
17061              }17166              }
17062            }17167            }
17063            container fast-fallover {17168            container fast-fallover {
17064              presence "Indicates a fast-fallover node is configured.";17169              presence "Indicates a fast-fallover node is configured.";
17065              description17170              description
17066                "Force neighbor to be directly connected. Bring neighbor down if its interface goes down";17171                "Force neighbor to be directly connected. Bring neighbor down if its interface goes down";
17067              container inheritance-disable {17172              container inheritance-disable {
17068                presence "Indicates a inheritance-disable node is configured.";17173                presence "Indicates a inheritance-disable node is configured.";
17069                description17174                description
17070                  "Prevent this neighbor from inheriting this config from a group it is in";17175                  "Prevent this neighbor from inheriting this config from a group it is in";
17071              }17176              }
17072            }17177            }
17073            container timers {17178            container timers {
17074              presence "Indicates a timers node is configured.";17179              presence "Indicates a timers node is configured.";
17075              description17180              description
17076                "BGP per neighbor timers";17181                "BGP per neighbor timers";
17077              leaf keepalive-interval {17182              leaf keepalive-interval {
17078                type uint32 {17183                type uint32 {
17079                  range "0..65535" {17184                  range "0..65535" {
17080                    description17185                    description
17081                      "Keepalive interval";17186                      "Keepalive interval";
17082                  }17187                  }
17083                }17188                }
17084                mandatory true;17189                mandatory true;
17085                description17190                description
17086                  "BGP timers";17191                  "BGP timers";
17087              }17192              }
17088              leaf holdtime {17193              leaf holdtime {
17089                type union {17194                type union {
17090                  type uint32 {17195                  type uint32 {
17091                    range "0" {17196                    range "0" {
17092                      description17197                      description
17093                        "0 to disable keepalives/hold time.";17198                        "0 to disable keepalives/hold time.";
17094                    }17199                    }
17095                  }17200                  }
17096                  type uint32 {17201                  type uint32 {
17097                    range "3..65535" {17202                    range "3..65535" {
17098                      description17203                      description
17099                        "Holdtime.";17204                        "Holdtime.";
17100                    }17205                    }
17101                  }17206                  }
17102                }17207                }
17103                mandatory true;17208                mandatory true;
17104                description17209                description
17105                  "Holdtime. Set 0 to disable keepalives/hold time.";17210                  "Holdtime. Set 0 to disable keepalives/hold time.";
17106              }17211              }
17107              leaf minimum-acceptable-holdtime {17212              leaf minimum-acceptable-holdtime {
17108                type union {17213                type union {
17109                  type uint32 {17214                  type uint32 {
17110                    range "0" {17215                    range "0" {
17111                      description17216                      description
17112                        "0 to disable keepalives/hold time.";17217                        "0 to disable keepalives/hold time.";
17113                    }17218                    }
17114                  }17219                  }
17115                  type uint32 {17220                  type uint32 {
17116                    range "3..65535" {17221                    range "3..65535" {
17117                      description17222                      description
17118                        "Minimum acceptable holdtime from neighbor.";17223                        "Minimum acceptable holdtime from neighbor.";
17119                    }17224                    }
17120                  }17225                  }
17121                }17226                }
17122                description17227                description
17123                  "Minimum acceptable holdtime from neighbor. Set 0 to disable keepalives/hold time.";17228                  "Minimum acceptable holdtime from neighbor. Set 0 to disable keepalives/hold time.";
17124              }17229              }
17125            }17230            }
17126            container local {17231            container local {
17127              description17232              description
17128                "Configure local parameter";17233                "Configure local parameter";
17129              container address {17234              container address {
17130                must "ip-address or inheritance-disable";17235                must "ip-address or inheritance-disable";
17131                presence "Indicates a address node is configured.";17236                presence "Indicates a address node is configured.";
17132                description17237                description
17133                  "use configured local address for bgp peering";17238                  "use configured local address for bgp peering";
17134                leaf ip-address {17239                leaf ip-address {
17135                  type inet:ip-address-no-zone;17240                  type inet:ip-address-no-zone;
17136                  description17241                  description
17137                    "IPv4 address";17242                    "IPv4 address";
17138                }17243                }
17139                container inheritance-disable {17244                container inheritance-disable {
17140                  presence "Indicates a inheritance-disable node is configured.";17245                  presence "Indicates a inheritance-disable node is configured.";
17141                  description17246                  description
17142                    "Prevent local address from being inherited from parent";17247                    "Prevent local address from being inherited from parent";
17143                }17248                }
17144              }17249              }
17145            }17250            }
17146            container log {17251            container log {
17147              description17252              description
17148                "Logging update messages per neighbor";17253                "Logging update messages per neighbor";
17149              container message {17254              container message {
17150                description17255                description
17151                  "Logging update/notification messages per neighbor";17256                  "Logging update/notification messages per neighbor";
17152                container in {17257                container in {
17153                  description17258                  description
17154                    "Inbound log messages";17259                    "Inbound log messages";
17155                  leaf message-log-buffer-size {17260                  leaf message-log-buffer-size {
17156                    type uint32 {17261                    type uint32 {
17157                      range "1..500" {17262                      range "1..500" {
17158                        description17263                        description
17159                          "Range for message log buffer size";17264                          "Range for message log buffer size";
17160                      }17265                      }
17161                    }17266                    }
17162                    description17267                    description
17163                      "Range for message log buffer size";17268                      "Range for message log buffer size";
17164                  }17269                  }
17165                  container disable {17270                  container disable {
17166                    presence "Indicates a disable node is configured.";17271                    presence "Indicates a disable node is configured.";
17167                    description17272                    description
17168                      "Disable inbound message logging";17273                      "Disable inbound message logging";
17169                  }17274                  }
17170                  container inheritance-diable {17275                  container inheritance-diable {
17171                    presence "Indicates a inheritance-diable node is configured.";17276                    presence "Indicates a inheritance-diable node is configured.";
17172                    description17277                    description
17173                      "Prevents the msg log from being inherited from the parent";17278                      "Prevents the msg log from being inherited from the parent";
17174                  }17279                  }
17175                }17280                }
17176                container out {17281                container out {
17177                  description17282                  description
17178                    "Outbound log messages";17283                    "Outbound log messages";
17179                  leaf range-for-message-log-buffer {17284                  leaf range-for-message-log-buffer {
17180                    type uint32 {17285                    type uint32 {
17181                      range "1..500" {17286                      range "1..500" {
17182                        description17287                        description
17183                          "Range for message log buffer size";17288                          "Range for message log buffer size";
17184                      }17289                      }
17185                    }17290                    }
17186                    description17291                    description
17187                      "Range for message log buffer size";17292                      "Range for message log buffer size";
17188                  }17293                  }
17189                  container disable {17294                  container disable {
17190                    presence "Indicates a disable node is configured.";17295                    presence "Indicates a disable node is configured.";
17191                    description17296                    description
17192                      "Disable outbound message logging";17297                      "Disable outbound message logging";
17193                  }17298                  }
17194                  container inheritance-diable {17299                  container inheritance-diable {
17195                    presence "Indicates a inheritance-diable node is configured.";17300                    presence "Indicates a inheritance-diable node is configured.";
17196                    description17301                    description
17197                      "Prevents the msg log from being inherited from the parent";17302                      "Prevents the msg log from being inherited from the parent";
17198                  }17303                  }
17199                }17304                }
17200              }17305              }
17201            }17306            }
17202            leaf update-source {17307            leaf update-source {
17203              type xr:Interface-name;17308              type xr:Interface-name;
17204              description17309              description
17205                "Source of routing updates";17310                "Source of routing updates";
17206            }17311            }
17207            container local-address-subnet {17312            container local-address-subnet {
17208              description17313              description
17209                "Local address subnet of routing updates";17314                "Local address subnet of routing updates";
17210              leaf ip-address {17315              leaf ip-address {
17211                type inet:ip-address-no-zone;17316                type inet:ip-address-no-zone;
17212                description17317                description
17213                  "IP address and mask or masklength";17318                  "IP address and mask or masklength";
17214              }17319              }
17215              leaf mask-length {17320              leaf mask-length {
17216                type uint32 {17321                type uint32 {
17217                  range "0..128" {17322                  range "0..128" {
17218                    description17323                    description
17219                      "IP address mask length";17324                      "IP address mask length";
17220                  }17325                  }
17221                }17326                }
17222                description17327                description
17223                  "IP address and mask length";17328                  "IP address and mask length";
17224              }17329              }
17225            }17330            }
17226            container dmz-link-bandwidth {17331            container dmz-link-bandwidth {
17227              presence "Indicates a dmz-link-bandwidth node is configured.";17332              presence "Indicates a dmz-link-bandwidth node is configured.";
17228              description17333              description
17229                "Propagate the DMZ link bandwidth";17334                "Propagate the DMZ link bandwidth";
17230              container inheritance-disable {17335              container inheritance-disable {
17231                presence "Indicates a inheritance-disable node is configured.";17336                presence "Indicates a inheritance-disable node is configured.";
17232                description17337                description
17233                  "Prevent dmz-link-bandwidth from being inherited from the parent";17338                  "Prevent dmz-link-bandwidth from being inherited from the parent";
17234              }17339              }
17235            }17340            }
17236            container ebgp-recv-extcommunity-dmz {17341            container ebgp-recv-extcommunity-dmz {
17237              presence "Indicates a ebgp-recv-extcommunity-dmz node is configured.";17342              presence "Indicates a ebgp-recv-extcommunity-dmz node is configured.";
17238              description17343              description
17239                "Receive extcommunity dmz link bandwidth from ebgp neighbor";17344                "Receive extcommunity dmz link bandwidth from ebgp neighbor";
17240              container inheritance-disable {17345              container inheritance-disable {
17241                presence "Indicates a inheritance-disable node is configured.";17346                presence "Indicates a inheritance-disable node is configured.";
17242                description17347                description
17243                  "Prevent ebgp-send-community-dmz from being inherited from parent";17348                  "Prevent ebgp-send-community-dmz from being inherited from parent";
17244              }17349              }
17245            }17350            }
17246            container ebgp-send-extcommunity-dmz {17351            container ebgp-send-extcommunity-dmz {
17247              must "not(cumulative and inheritance-disable)";17352              must "not(cumulative and inheritance-disable)";
17248              presence "Indicates a ebgp-send-extcommunity-dmz node is configured.";17353              presence "Indicates a ebgp-send-extcommunity-dmz node is configured.";
17249              description17354              description
17250                "Send extended community dmz link bandwidth to ebgp neighbor";17355                "Send extended community dmz link bandwidth to ebgp neighbor";
17251              container cumulative {17356              container cumulative {
17252                presence "Indicates a cumulative node is configured.";17357                presence "Indicates a cumulative node is configured.";
17253                description17358                description
17254                  "Send cumulative community dmz link bandwidth of all multipaths to ebgp neighbor";17359                  "Send cumulative community dmz link bandwidth of all multipaths to ebgp neighbor";
17255              }17360              }
17256              container inheritance-disable {17361              container inheritance-disable {
17257                presence "Indicates a inheritance-disable node is configured.";17362                presence "Indicates a inheritance-disable node is configured.";
17258                description17363                description
17259                  "Prevent ebgp-send-extcommunity-dmz from being inherited from parent";17364                  "Prevent ebgp-send-extcommunity-dmz from being inherited from parent";
17260              }17365              }
17261            }17366            }
17262            container evpn-link-bandwidth {17367            container evpn-link-bandwidth {
17263              presence "Indicates a evpn-link-bandwidth node is configured.";17368              presence "Indicates a evpn-link-bandwidth node is configured.";
17264              description17369              description
17265                "Propagate the EVPN link bandwidth";17370                "Propagate the EVPN link bandwidth";
17266              leaf per-path {17371              leaf per-path {
17267                type uint32 {17372                type uint32 {
17268                  range "1..1000" {17373                  range "1..1000" {
17269                    description17374                    description
17270                      "Unit per-path";17375                      "Unit per-path";
17271                  }17376                  }
17272                }17377                }
17273                description17378                description
17274                  "EVPN Link Bandwidth using per-path generalized unit";17379                  "EVPN Link Bandwidth using per-path generalized unit";
17275              }17380              }
17276              container inheritance-disable {17381              container inheritance-disable {
17277                presence "Indicates a inheritance-disable node is configured.";17382                presence "Indicates a inheritance-disable node is configured.";
17278                description17383                description
17279                  "Prevent evpn-link-bandwidth from being inherited from the parent";17384                  "Prevent evpn-link-bandwidth from being inherited from the parent";
17280              }17385              }
17281            }17386            }
17282            container ttl-security {17387            container ttl-security {
17283              presence "Indicates a ttl-security node is configured.";17388              presence "Indicates a ttl-security node is configured.";
17284              description17389              description
17285                "Enable EBGP TTL security";17390                "Enable EBGP TTL security";
17286              container inheritance-disable {17391              container inheritance-disable {
17287                presence "Indicates a inheritance-disable node is configured.";17392                presence "Indicates a inheritance-disable node is configured.";
17288                description17393                description
17289                  "Prevent ttl-security from being inherited from the parent";17394                  "Prevent ttl-security from being inherited from the parent";
17290              }17395              }
17291            }17396            }
17292            container session-open-mode {17397            container session-open-mode {
17293              description17398              description
17294                "Establish BGP session using this TCP open mode";17399                "Establish BGP session using this TCP open mode";
17295              container active-only {17400              container active-only {
17296                must "not(../passive-only or ../both)";17401                must "not(../passive-only or ../both)";
17297                presence "Indicates a active-only node is configured.";17402                presence "Indicates a active-only node is configured.";
17298                description17403                description
17299                  "Active only";17404                  "Active only";
17300              }17405              }
17301              container passive-only {17406              container passive-only {
17302                must "not(../active-only or ../both)";17407                must "not(../active-only or ../both)";
17303                presence "Indicates a passive-only node is configured.";17408                presence "Indicates a passive-only node is configured.";
17304                description17409                description
17305                  "Passive only";17410                  "Passive only";
17306              }17411              }
17307              container both {17412              container both {
17308                must "not(../active-only or ../passive-only)";17413                must "not(../active-only or ../passive-only)";
17309                presence "Indicates a both node is configured.";17414                presence "Indicates a both node is configured.";
17310                description17415                description
17311                  "Prevent session-open-mode being inherited from the parent";17416                  "Prevent session-open-mode being inherited from the parent";
17312              }17417              }
17313            }17418            }
17314            leaf dscp {17419            leaf dscp {
17315              type enumeration {17420              type enumeration {
17316                enum "default" {17421                enum "default" {
17317                  value 0;17422                  value 0;
17318                  description17423                  description
17319                    "Set packets with default dscp (000000)";17424                    "Set packets with default dscp (000000)";
17320                }17425                }
17321                enum "cs1" {17426                enum "cs1" {
17322                  value 8;17427                  value 8;
17323                  description17428                  description
17324                    "Set packets with CS1(precedence 1) dscp (001000)";17429                    "Set packets with CS1(precedence 1) dscp (001000)";
17325                }17430                }
17326                enum "af11" {17431                enum "af11" {
17327                  value 10;17432                  value 10;
17328                  description17433                  description
17329                    "Set packets with AF11 dscp (001010)";17434                    "Set packets with AF11 dscp (001010)";
17330                }17435                }
17331                enum "af12" {17436                enum "af12" {
17332                  value 12;17437                  value 12;
17333                  description17438                  description
17334                    "Set packets with AF12 dscp (001100)";17439                    "Set packets with AF12 dscp (001100)";
17335                }17440                }
17336                enum "af13" {17441                enum "af13" {
17337                  value 14;17442                  value 14;
17338                  description17443                  description
17339                    "Set packets with AF13 dscp (001110)";17444                    "Set packets with AF13 dscp (001110)";
17340                }17445                }
17341                enum "cs2" {17446                enum "cs2" {
17342                  value 16;17447                  value 16;
17343                  description17448                  description
17344                    "Set packets with CS2(precedence 2) dscp (010000)";17449                    "Set packets with CS2(precedence 2) dscp (010000)";
17345                }17450                }
17346                enum "af21" {17451                enum "af21" {
17347                  value 18;17452                  value 18;
17348                  description17453                  description
17349                    "Set packets with AF21 dscp (010010)";17454                    "Set packets with AF21 dscp (010010)";
17350                }17455                }
17351                enum "af22" {17456                enum "af22" {
17352                  value 20;17457                  value 20;
17353                  description17458                  description
17354                    "Set packets with AF22 dscp (010100)";17459                    "Set packets with AF22 dscp (010100)";
17355                }17460                }
17356                enum "af23" {17461                enum "af23" {
17357                  value 22;17462                  value 22;
17358                  description17463                  description
17359                    "Set packets with AF23 dscp (010110)";17464                    "Set packets with AF23 dscp (010110)";
17360                }17465                }
17361                enum "cs3" {17466                enum "cs3" {
17362                  value 24;17467                  value 24;
17363                  description17468                  description
17364                    "Set packets with CS3(precedence 3) dscp (011000)";17469                    "Set packets with CS3(precedence 3) dscp (011000)";
17365                }17470                }
17366                enum "af31" {17471                enum "af31" {
17367                  value 26;17472                  value 26;
17368                  description17473                  description
17369                    "Set packets with AF31 dscp (011010)";17474                    "Set packets with AF31 dscp (011010)";
17370                }17475                }
17371                enum "af32" {17476                enum "af32" {
17372                  value 28;17477                  value 28;
17373                  description17478                  description
17374                    "Set packets with AF32 dscp (011100)";17479                    "Set packets with AF32 dscp (011100)";
17375                }17480                }
17376                enum "af33" {17481                enum "af33" {
17377                  value 30;17482                  value 30;
17378                  description17483                  description
17379                    "Set packets with AF33 dscp (011110)";17484                    "Set packets with AF33 dscp (011110)";
17380                }17485                }
17381                enum "cs4" {17486                enum "cs4" {
17382                  value 32;17487                  value 32;
17383                  description17488                  description
17384                    "Set packets with CS4(precedence 4) dscp (100000)";17489                    "Set packets with CS4(precedence 4) dscp (100000)";
17385                }17490                }
17386                enum "af41" {17491                enum "af41" {
17387                  value 34;17492                  value 34;
17388                  description17493                  description
17389                    "Set packets with AF41 dscp (100010)";17494                    "Set packets with AF41 dscp (100010)";
17390                }17495                }
17391                enum "af42" {17496                enum "af42" {
17392                  value 36;17497                  value 36;
17393                  description17498                  description
17394                    "Set packets with AF42 dscp (100100)";17499                    "Set packets with AF42 dscp (100100)";
17395                }17500                }
17396                enum "af43" {17501                enum "af43" {
17397                  value 38;17502                  value 38;
17398                  description17503                  description
17399                    "Set packets with AF43 dscp (100110)";17504                    "Set packets with AF43 dscp (100110)";
17400                }17505                }
17401                enum "cs5" {17506                enum "cs5" {
17402                  value 40;17507                  value 40;
17403                  description17508                  description
17404                    "Set packets with CS5(precedence 5) dscp (101000)";17509                    "Set packets with CS5(precedence 5) dscp (101000)";
17405                }17510                }
17406                enum "ef" {17511                enum "ef" {
17407                  value 46;17512                  value 46;
17408                  description17513                  description
17409                    "Set packets with EF dscp (101110)";17514                    "Set packets with EF dscp (101110)";
17410                }17515                }
17411                enum "cs6" {17516                enum "cs6" {
17412                  value 48;17517                  value 48;
17413                  description17518                  description
17414                    "Set packets with CS6(precedence 6) dscp (110000)";17519                    "Set packets with CS6(precedence 6) dscp (110000)";
17415                }17520                }
17416                enum "cs7" {17521                enum "cs7" {
17417                  value 56;17522                  value 56;
17418                  description17523                  description
17419                    "Set packets with CS7(precedence 7) dscp (111000)";17524                    "Set packets with CS7(precedence 7) dscp (111000)";
17420                }17525                }
17421              }17526              }
17422              description17527              description
17423                "Set IP DSCP (DiffServ CodePoint)";17528                "Set IP DSCP (DiffServ CodePoint)";
17424            }17529            }
17425            leaf precedence {17530            leaf precedence {
17426              type enumeration {17531              type enumeration {
17427                enum "routine" {17532                enum "routine" {
17428                  value 0;17533                  value 0;
17429                  description17534                  description
17430                    "Set packets with routine precedence (0)";17535                    "Set packets with routine precedence (0)";
17431                }17536                }
17432                enum "priority" {17537                enum "priority" {
17433                  value 1;17538                  value 1;
17434                  description17539                  description
17435                    "Set packets with priority precedence (1)";17540                    "Set packets with priority precedence (1)";
17436                }17541                }
17437                enum "immediate" {17542                enum "immediate" {
17438                  value 2;17543                  value 2;
17439                  description17544                  description
17440                    "Set packets with immediate precedence (2)";17545                    "Set packets with immediate precedence (2)";
17441                }17546                }
17442                enum "flash" {17547                enum "flash" {
17443                  value 3;17548                  value 3;
17444                  description17549                  description
17445                    "Set packets with flash precedence (3)";17550                    "Set packets with flash precedence (3)";
17446                }17551                }
17447                enum "flash-override" {17552                enum "flash-override" {
17448                  value 4;17553                  value 4;
17449                  description17554                  description
17450                    "Set packets with flash override precedence (4)";17555                    "Set packets with flash override precedence (4)";
17451                }17556                }
17452                enum "critical" {17557                enum "critical" {
17453                  value 5;17558                  value 5;
17454                  description17559                  description
17455                    "Set packets with critical precedence (5)";17560                    "Set packets with critical precedence (5)";
17456                }17561                }
17457                enum "internet" {17562                enum "internet" {
17458                  value 6;17563                  value 6;
17459                  description17564                  description
17460                    "Set packets with internetwork control precedence (6)";17565                    "Set packets with internetwork control precedence (6)";
17461                }17566                }
17462                enum "network" {17567                enum "network" {
17463                  value 7;17568                  value 7;
17464                  description17569                  description
17465                    "Set packets with network control precedence (7)";17570                    "Set packets with network control precedence (7)";
17466                }17571                }
17467              }17572              }
17468              description17573              description
17469                "Set precedence";17574                "Set precedence";
17470            }17575            }
17471            container capability {17576            container capability {
17472              description17577              description
17473                "Advertise capability to the peer";17578                "Advertise capability to the peer";
17474              container suppress {17579              container suppress {
17475                description17580                description
17476                  "Suppress advertising capability to the peer ";17581                  "Suppress advertising capability to the peer ";
17477                container four-byte-as {17582                container four-byte-as {
17478                  presence "Indicates a four-byte-as node is configured.";17583                  presence "Indicates a four-byte-as node is configured.";
17479                  description17584                  description
17480                    "4-byte-as capability";17585                    "4-byte-as capability";
17481                  container inheritance-disable {17586                  container inheritance-disable {
17482                    presence "Indicates a inheritance-disable node is configured.";17587                    presence "Indicates a inheritance-disable node is configured.";
17483                    description17588                    description
17484                      "Prevent capability suppress 4-type-as being inherited from the parent";17589                      "Prevent capability suppress 4-type-as being inherited from the parent";
17485                  }17590                  }
17486                }17591                }
17487                container all {17592                container all {
17488                  presence "Indicates a all node is configured.";17593                  presence "Indicates a all node is configured.";
17489                  description17594                  description
17490                    "All capabilities";17595                    "All capabilities";
17491                  container inheritance-disable {17596                  container inheritance-disable {
17492                    presence "Indicates a inheritance-disable node is configured.";17597                    presence "Indicates a inheritance-disable node is configured.";
17493                    description17598                    description
17494                      "Do not inherit this configuration from parent group";17599                      "Do not inherit this configuration from parent group";
17495                  }17600                  }
17496                }17601                }
17497                container extended-nexthop-encoding {17602                container extended-nexthop-encoding {
17498                  presence "Indicates a extended-nexthop-encoding node is configured.";17603                  presence "Indicates a extended-nexthop-encoding node is configured.";
17499                  description17604                  description
17500                    "Extended-nexthop-encoding capabilities (IETF RFC 5549)";17605                    "Extended-nexthop-encoding capabilities (IETF RFC 5549)";
17501                  container inheritance-disable {17606                  container inheritance-disable {
17502                    presence "Indicates a inheritance-disable node is configured.";17607                    presence "Indicates a inheritance-disable node is configured.";
17503                    description17608                    description
17504                      "Do not inherit this configuration from parent group";17609                      "Do not inherit this configuration from parent group";
17505                  }17610                  }
17506                }17611                }
17507              }17612              }
17508              container additional-paths {17613              container additional-paths {
17509                description17614                description
17510                  "Additional paths capability";17615                  "Additional paths capability";
17511                container send {17616                container send {
17512                  presence "Indicates a send node is configured.";17617                  presence "Indicates a send node is configured.";
17513                  description17618                  description
17514                    "Additional paths Send capability";17619                    "Additional paths Send capability";
17515                  container disable {17620                  container disable {
17516                    presence "Indicates a disable node is configured.";17621                    presence "Indicates a disable node is configured.";
17517                    description17622                    description
17518                      "Do not advertise additional paths Send capability";17623                      "Do not advertise additional paths Send capability";
17519                  }17624                  }
17520                }17625                }
17521                container receive {17626                container receive {
17522                  presence "Indicates a receive node is configured.";17627                  presence "Indicates a receive node is configured.";
17523                  description17628                  description
17524                    "Additional paths Receive capability";17629                    "Additional paths Receive capability";
17525                  container disable {17630                  container disable {
17526                    presence "Indicates a disable node is configured.";17631                    presence "Indicates a disable node is configured.";
17527                    description17632                    description
17528                      "Do not advertise additional paths Receive capability";17633                      "Do not advertise additional paths Receive capability";
17529                  }17634                  }
17530                }17635                }
17531              }17636              }
17532            }17637            }
17533            container graceful-restart {17638            container graceful-restart {
17534              presence "Indicates a graceful-restart node is configured.";17639              presence "Indicates a graceful-restart node is configured.";
17535              description17640              description
17536                "Enable graceful restart support for this neighbor";17641                "Enable graceful restart support for this neighbor";
17537              container disable {17642              container disable {
17538                presence "Indicates a disable node is configured.";17643                presence "Indicates a disable node is configured.";
17539                description17644                description
17540                  "Disable graceful restart support for this neighbor";17645                  "Disable graceful restart support for this neighbor";
17541              }17646              }
17542              leaf restart-time {17647              leaf restart-time {
17543                type uint32 {17648                type uint32 {
17544                  range "1..4095" {17649                  range "1..4095" {
17545                    description17650                    description
17546                      "Max time (seconds)";17651                      "Max time (seconds)";
17547                  }17652                  }
17548                }17653                }
17549                description17654                description
17550                  "Restart time advertised to the neighbor";17655                  "Restart time advertised to the neighbor";
17551              }17656              }
17552              leaf stalepath-time {17657              leaf stalepath-time {
17553                type uint32 {17658                type uint32 {
17554                  range "1..4095" {17659                  range "1..4095" {
17555                    description17660                    description
17556                      "Max time (seconds)";17661                      "Max time (seconds)";
17557                  }17662                  }
17558                }17663                }
17559                description17664                description
17560                  "Maximum time to wait for restart of GR capable peer";17665                  "Maximum time to wait for restart of GR capable peer";
17561              }17666              }
17562            }17667            }
17563            container enforce-first-as {17668            container enforce-first-as {
17564              presence "Indicates a enforce-first-as node is configured.";17669              presence "Indicates a enforce-first-as node is configured.";
17565              description17670              description
17566                "Enforce the first AS for EBGP routes";17671                "Enforce the first AS for EBGP routes";
17567              container disable {17672              container disable {
17568                presence "Indicates a disable node is configured.";17673                presence "Indicates a disable node is configured.";
17569                description17674                description
17570                  "Do not enforce the first AS for EBGP routes";17675                  "Do not enforce the first AS for EBGP routes";
17571              }17676              }
17572            }17677            }
17573            leaf maximum-peers {17678            leaf maximum-peers {
17574              type uint32 {17679              type uint32 {
17575                range "1..4095" {17680                range "1..4095" {
17576                  description17681                  description
17577                    "Maximum number of peers";17682                    "Maximum number of peers";
17578                }17683                }
17579              }17684              }
17580              description17685              description
17581                "Maximum dynamic neighbors";17686                "Maximum dynamic neighbors";
17582            }17687            }
17583            leaf idle-watch-time {17688            leaf idle-watch-time {
17584              type uint32 {17689              type uint32 {
17585                range "30..1800" {17690                range "30..1800" {
17586                  description17691                  description
17587                    "Max time (seconds)";17692                    "Max time (seconds)";
17588                }17693                }
17589              }17694              }
17590              description17695              description
17591                "Maximum time to wait for deletion of IDLE state dynamic peer";17696                "Maximum time to wait for deletion of IDLE state dynamic peer";
17592            }17697            }
17593            container egress-engineering {17698            container egress-engineering {
17594              presence "Indicates a egress-engineering node is configured.";17699              presence "Indicates a egress-engineering node is configured.";
17595              description17700              description
17596                "Enable egress peer engineering for this neighbor";17701                "Enable egress peer engineering for this neighbor";
17597              container inheritance-disable {17702              container inheritance-disable {
17598                presence "Indicates a inheritance-disable node is configured.";17703                presence "Indicates a inheritance-disable node is configured.";
17599                description17704                description
17600                  "Do not inherit egress-engineering from the parent";17705                  "Do not inherit egress-engineering from the parent";
17601              }17706              }
17602            }17707            }
17603            container peer-sets {17708            container peer-sets {
17604              description17709              description
17605                "Assign this neighbor to a peer-set used for egress peer engineering";17710                "Assign this neighbor to a peer-set used for egress peer engineering";
17606              list peer-set {17711              list peer-set {
17607                key "peer-set-id";17712                key "peer-set-id";
17608                description17713                description
17609                  "Assign this neighbor to a peer-set used for egress peer engineering";17714                  "Assign this neighbor to a peer-set used for egress peer engineering";
17610                leaf peer-set-id {17715                leaf peer-set-id {
17611                  type uint32 {17716                  type uint32 {
17612                    range "1..255" {17717                    range "1..255" {
17613                      description17718                      description
17614                        "Identity value of peer-set";17719                        "Identity value of peer-set";
17615                    }17720                    }
17616                  }17721                  }
17617                  description17722                  description
17618                    "Assign this neighbor to a peer-set used for egress peer engineering";17723                    "Assign this neighbor to a peer-set used for egress peer engineering";
17619                }17724                }
17620              }17725              }
17621            }17726            }
17622            container peer-node-sid {17727            container peer-node-sid {
17623              description17728              description
17624                "Assign this neighbor a manual SID for egress peer engineering";17729                "Assign this neighbor a manual SID for egress peer engineering";
17625              leaf index {17730              leaf index {
17626                type uint32 {17731                type uint32 {
17627                  range "0..1033575" {17732                  range "0..1033575" {
17628                    description17733                    description
17629                      "Segment Index to be assigned to this peer. The index will be off SRLB17734                      "Segment Index to be assigned to this peer. The index will be off SRLB
17630                       Note: This imum index configurable in dynaminc SRLB range.17735                       Note: This imum index configurable in dynaminc SRLB range.
17631                       Since SRLB cnamic range, actual maximum index can vary.17736                       Since SRLB cnamic range, actual maximum index can vary.
17632                       So please locurrently configured SRLB range";17737                       So please locurrently configured SRLB range";
17633                  }17738                  }
17634                }17739                }
17635                description17740                description
17636                  "Segment Index value which is offset of SRLB";17741                  "Segment Index value which is offset of SRLB";
17637              }17742              }
17638            }17743            }
17639            container ao {17744            container ao {
17640              description17745              description
17641                "Enable Authentiation Option";17746                "Enable Authentiation Option";
17642              leaf key-chain-name {17747              leaf key-chain-name {
17643                type string {17748                type string {
17644                  length "1..32" {17749                  length "1..32" {
17645                    description17750                    description
17646                      "Name of the key chain - maximum 32 characters";17751                      "Name of the key chain - maximum 32 characters";
17647                  }17752                  }
17648                }17753                }
17649                must "not(../inheritance-disable) and (../include-tcp-options/enable or ../include-tcp-options/disable)";17754                must "not(../inheritance-disable) and (../include-tcp-options/enable or ../include-tcp-options/disable)";
17650                description17755                description
17651                  "Name of the key chain - maximum 32 characters";17756                  "Name of the key chain - maximum 32 characters";
17652              }17757              }
17653              container include-tcp-options {17758              container include-tcp-options {
17654                description17759                description
17655                  "Include/Exclude other TCP options in the header";17760                  "Include/Exclude other TCP options in the header";
17656                container enable {17761                container enable {
17657                  must "not(../disable or ../../inheritance-disable)";17762                  must "not(../disable or ../../inheritance-disable)";
17658                  presence "Indicates a enable node is configured.";17763                  presence "Indicates a enable node is configured.";
17659                  description17764                  description
17660                    "Include other TCP options in the header";17765                    "Include other TCP options in the header";
17661                }17766                }
17662                container disable {17767                container disable {
17663                  must "not(../enable or ../../inheritance-disable)";17768                  must "not(../enable or ../../inheritance-disable)";
17664                  presence "Indicates a disable node is configured.";17769                  presence "Indicates a disable node is configured.";
17665                  description17770                  description
17666                    "Exclude other TCP options in the header";17771                    "Exclude other TCP options in the header";
17667                }17772                }
17668                container accept-ao-mismatch-connection {17773                container accept-ao-mismatch-connection {
17669                  must "../enable or ../disable";17774                  must "../enable or ../disable";
17670                  presence "Indicates a accept-ao-mismatch-connection node is configured.";17775                  presence "Indicates a accept-ao-mismatch-connection node is configured.";
17671                  description17776                  description
17672                    "Accept new connection even if AO mismatched";17777                    "Accept new connection even if AO mismatched";
17673                }17778                }
17674              }17779              }
17675              container inheritance-disable {17780              container inheritance-disable {
17676                must "not(../key-chain-name)";17781                must "not(../key-chain-name)";
17677                presence "Indicates a inheritance-disable node is configured.";17782                presence "Indicates a inheritance-disable node is configured.";
17678                description17783                description
17679                  "Prevent keychain from being inherited from parent";17784                  "Prevent keychain from being inherited from parent";
17680              }17785              }
17681            }17786            }
17682            container origin-as {17787            container origin-as {
17683              description17788              description
17684                "BGP origin-AS knobs";17789                "BGP origin-AS knobs";
17685              container validation {17790              container validation {
17686                description17791                description
17687                  "BGP origin-AS validation knobs";17792                  "BGP origin-AS validation knobs";
17688                container disable {17793                container disable {
17689                  presence "Indicates a disable node is configured.";17794                  presence "Indicates a disable node is configured.";
17690                  description17795                  description
17691                    "Disable RPKI origin-AS validation";17796                    "Disable RPKI origin-AS validation";
17692                }17797                }
17693              }17798              }
17694            }17799            }
17695            container bestpath {17800            container bestpath {
17696              description17801              description
17697                "Change default route selection criteria";17802                "Change default route selection criteria";
17698              container origin-as {17803              container origin-as {
17699                description17804                description
17700                  "BGP origin-AS knobs";17805                  "BGP origin-AS knobs";
17701                container allow {17806                container allow {
17702                  description17807                  description
17703                    "BGP origin-AS knobs";17808                    "BGP origin-AS knobs";
17704                  container invalid {17809                  container invalid {
17705                    presence "Indicates a invalid node is configured.";17810                    presence "Indicates a invalid node is configured.";
17706                    description17811                    description
17707                      "BGP bestpath selection will allow 'invalid' origin-AS";17812                      "BGP bestpath selection will allow 'invalid' origin-AS";
17708                  }17813                  }
17709                }17814                }
17710              }17815              }
17711            }17816            }
17712          }17817          }
17713        }17818        }
17714        container mpls {17819        container mpls {
17715          description17820          description
17716            "Enable mpls parameters";17821            "Enable mpls parameters";
17717          container activate {17822          container activate {
17718            description17823            description
17719              "Enter mpls interfaces in BGP vrf mpls activation mode";17824              "Enter mpls interfaces in BGP vrf mpls activation mode";
17720            container interfaces {17825            container interfaces {
17721              description17826              description
17722                "Interface to enable mpls";17827                "Interface to enable mpls";
17723              list interface {17828              list interface {
17724                key "interface-name";17829                key "interface-name";
17725                description17830                description
17726                  "Interface to enable mpls";17831                  "Interface to enable mpls";
17727                leaf interface-name {17832                leaf interface-name {
17728                  type xr:Interface-name;17833                  type xr:Interface-name;
17729                  description17834                  description
17730                    "Interface to enable mpls";17835                    "Interface to enable mpls";
17731                }17836                }
17732              }17837              }
17733            }17838            }
17734          }17839          }
17735        }17840        }
17736        container default-information {17841        container default-information {
17737          description17842          description
17738            "Control distribution of default information";17843            "Control distribution of default information";
17739          container originate {17844          container originate {
17740            presence "Indicates a originate node is configured.";17845            presence "Indicates a originate node is configured.";
17741            description17846            description
17742              "Distribute a default route";17847              "Distribute a default route";
17743          }17848          }
17744        }17849        }
17745        leaf default-metric {17850        leaf default-metric {
17746          type uint32 {17851          type uint32 {
17747            range "1..4294967295" {17852            range "1..4294967295" {
17748              description17853              description
17749                "Default metric";17854                "Default metric";
17750            }17855            }
17751          }17856          }
17752          description17857          description
17753            "default redistributed metric";17858            "default redistributed metric";
17754        }17859        }
17755        container socket {17860        container socket {
17756          description17861          description
17757            "set socket parameters";17862            "set socket parameters";
17758          leaf send-buffer-size {17863          leaf send-buffer-size {
17759            type uint32 {17864            type uint32 {
17760              range "4096..131072" {17865              range "4096..131072" {
17761                description17866                description
17762                  "Send socket buffer size in bytes";17867                  "Send socket buffer size in bytes";
17763              }17868              }
17764            }17869            }
17765            description17870            description
17766              "socket send buffer size";17871              "socket send buffer size";
17767          }17872          }
17768          leaf bgp-write-buffer-size {17873          leaf bgp-write-buffer-size {
17769            type uint32 {17874            type uint32 {
17770              range "4096..131072" {17875              range "4096..131072" {
17771                description17876                description
17772                  "BGP Write buffer size in bytes";17877                  "BGP Write buffer size in bytes";
17773              }17878              }
17774            }17879            }
17775            must "../send-buffer-size";17880            must "../send-buffer-size";
17776            description17881            description
17777              "BGP Write buffer size in bytes";17882              "BGP Write buffer size in bytes";
17778          }17883          }
17779          leaf receive-buffer-size {17884          leaf receive-buffer-size {
17780            type uint32 {17885            type uint32 {
17781              range "512..131072" {17886              range "512..131072" {
17782                description17887                description
17783                  "Receive socket buffer size in bytes";17888                  "Receive socket buffer size in bytes";
17784              }17889              }
17785            }17890            }
17786            description17891            description
17787              "socket receive buffer size";17892              "socket receive buffer size";
17788          }17893          }
17789          leaf bgp-read-buffer-size {17894          leaf bgp-read-buffer-size {
17790            type uint32 {17895            type uint32 {
17791              range "512..131072" {17896              range "512..131072" {
17792                description17897                description
17793                  "BGP Read buffer size in bytes";17898                  "BGP Read buffer size in bytes";
17794              }17899              }
17795            }17900            }
17796            must "../receive-buffer-size";17901            must "../receive-buffer-size";
17797            description17902            description
17798              "BGP Read buffer size in bytes";17903              "BGP Read buffer size in bytes";
17799          }17904          }
17800        }17905        }
17801        container nexthop {17906        container nexthop {
17802          description17907          description
17803            "Configure next-hop related items";17908            "Configure next-hop related items";
17804          container mpls {17909          container mpls {
17805            description17910            description
17806              "Configure next-hop related items for mpls";17911              "Configure next-hop related items for mpls";
17807            container forwarding {17912            container forwarding {
17808              description17913              description
17809                "Enable next hop mpls forwarding path";17914                "Enable next hop mpls forwarding path";
17810              container ibgp {17915              container ibgp {
17811                presence "Indicates a ibgp node is configured.";17916                presence "Indicates a ibgp node is configured.";
17812                description17917                description
17813                  "Enable mpls forwarding path for ibgp learnt nexthops";17918                  "Enable mpls forwarding path for ibgp learnt nexthops";
17814              }17919              }
17815            }17920            }
17816          }17921          }
17817          container resolution {17922          container resolution {
17818            description17923            description
17819              "Configure next-hop related items for resolution";17924              "Configure next-hop related items for resolution";
17820            container allow-default {17925            container allow-default {
17821              presence "Indicates a allow-default node is configured.";17926              presence "Indicates a allow-default node is configured.";
17822              description17927              description
17823                "Enable nexthops resolution using default route";17928                "Enable nexthops resolution using default route";
17824            }17929            }
17825          }17930          }
17826        }17931        }
17827        container timers {17932        container timers {
17828          description17933          description
17829            "Adjust routing timers";17934            "Adjust routing timers";
17830          container bgp {17935          container bgp {
17831            presence "Indicates a bgp node is configured.";17936            presence "Indicates a bgp node is configured.";
17832            description17937            description
17833              "BGP timers";17938              "BGP timers";
17834            leaf keepalive-interval {17939            leaf keepalive-interval {
17835              type uint32 {17940              type uint32 {
17836                range "0..65535" {17941                range "0..65535" {
17837                  description17942                  description
17838                    "Keepalive interval";17943                    "Keepalive interval";
17839                }17944                }
17840              }17945              }
17841              mandatory true;17946              mandatory true;
17842              description17947              description
17843                "BGP timers";17948                "BGP timers";
17844            }17949            }
17845            leaf holdtime {17950            leaf holdtime {
17846              type union {17951              type union {
17847                type uint32 {17952                type uint32 {
17848                  range "0" {17953                  range "0" {
17849                    description17954                    description
17850                      "0 to disable keepalives/hold time.";17955                      "0 to disable keepalives/hold time.";
17851                  }17956                  }
17852                }17957                }
17853                type uint32 {17958                type uint32 {
17854                  range "3..65535" {17959                  range "3..65535" {
17855                    description17960                    description
17856                      "Holdtime.";17961                      "Holdtime.";
17857                  }17962                  }
17858                }17963                }
17859              }17964              }
17860              mandatory true;17965              mandatory true;
17861              description17966              description
17862                "Holdtime. Set 0 to disable keepalives/hold time.";17967                "Holdtime. Set 0 to disable keepalives/hold time.";
17863            }17968            }
17864            leaf minimum-acceptable-holdtime {17969            leaf minimum-acceptable-holdtime {
17865              type union {17970              type union {
17866                type uint32 {17971                type uint32 {
17867                  range "0" {17972                  range "0" {
17868                    description17973                    description
17869                      "0 to disable keepalives/hold time.";17974                      "0 to disable keepalives/hold time.";
17870                  }17975                  }
17871                }17976                }
17872                type uint32 {17977                type uint32 {
17873                  range "3..65535" {17978                  range "3..65535" {
17874                    description17979                    description
17875                      "Minimum acceptable holdtime from neighbor.";17980                      "Minimum acceptable holdtime from neighbor.";
17876                  }17981                  }
17877                }17982                }
17878              }17983              }
17879              description17984              description
17880                "Minimum acceptable holdtime from neighbor. Set 0 to disable keepalives/hold time.";17985                "Minimum acceptable holdtime from neighbor. Set 0 to disable keepalives/hold time.";
17881            }17986            }
17882          }17987          }
17883        }17988        }
17884        container optimal-route-reflection {17989        container optimal-route-reflection {
17885          description17990          description
17886            "Configure optimal-route-reflection group";17991            "Configure optimal-route-reflection group";
17887          container ipv4 {17992          container ipv4 {
17888            description17993            description
17889              "IPv4 ORR group";17994              "IPv4 ORR group";
17890            list orr-group {17995            list orr-group {
17891              key "orr-group-name";17996              key "orr-group-name";
17892              description17997              description
17893                "ORR group name - maximum 32 characters";17998                "ORR group name - maximum 32 characters";
17894              leaf orr-group-name {17999              leaf orr-group-name {
17895                type string {18000                type string {
17896                  length "1..32" {18001                  length "1..32" {
17897                    description18002                    description
17898                      "ORR group name - maximum 32 characters";18003                      "ORR group name - maximum 32 characters";
17899                  }18004                  }
17900                }18005                }
17901                description18006                description
17902                  "ORR group name - maximum 32 characters";18007                  "ORR group name - maximum 32 characters";
17903              }18008              }
17904              leaf primary-address {18009              leaf primary-address {
17905                type inet:ipv4-address-no-zone;18010                type inet:ipv4-address-no-zone;
17906                mandatory true;18011                mandatory true;
17907                description18012                description
17908                  "IPv4 primary address";18013                  "IPv4 primary address";
17909              }18014              }
17910              leaf secondary-address {18015              leaf secondary-address {
17911                type inet:ipv4-address-no-zone;18016                type inet:ipv4-address-no-zone;
17912                description18017                description
17913                  "IPv4 secondary address";18018                  "IPv4 secondary address";
17914              }18019              }
17915              leaf tertiary-address {18020              leaf tertiary-address {
17916                type inet:ipv4-address-no-zone;18021                type inet:ipv4-address-no-zone;
17917                must "../secondary-address";18022                must "../secondary-address";
17918                description18023                description
17919                  "IPv4 tertiary address";18024                  "IPv4 tertiary address";
17920              }18025              }
17921              leaf flex-algo {18026              leaf flex-algo {
17922                type uint32 {18027                type uint32 {
17923                  range "128..255" {18028                  range "128..255" {
17924                    description18029                    description
17925                      "Flexiable Algorithm value";18030                      "Flexiable Algorithm value";
17926                  }18031                  }
17927                }18032                }
17928                description18033                description
17929                  "Flexible Algorithm";18034                  "Flexible Algorithm";
17930              }18035              }
17931            }18036            }
17932          }18037          }
17933          container ipv6 {18038          container ipv6 {
17934            description18039            description
17935              "IPv6 ORR group";18040              "IPv6 ORR group";
17936            list orr-group {18041            list orr-group {
17937              key "orr-group-name";18042              key "orr-group-name";
17938              description18043              description
17939                "ORR group name - maximum 32 characters";18044                "ORR group name - maximum 32 characters";
17940              leaf orr-group-name {18045              leaf orr-group-name {
17941                type string {18046                type string {
17942                  length "1..32" {18047                  length "1..32" {
17943                    description18048                    description
17944                      "ORR group name - maximum 32 characters";18049                      "ORR group name - maximum 32 characters";
17945                  }18050                  }
17946                }18051                }
17947                description18052                description
17948                  "ORR group name - maximum 32 characters";18053                  "ORR group name - maximum 32 characters";
17949              }18054              }
17950              leaf primary-address {18055              leaf primary-address {
17951                type inet:ipv6-address-no-zone;18056                type inet:ipv6-address-no-zone;
17952                mandatory true;18057                mandatory true;
17953                description18058                description
17954                  "IPv6 primary address";18059                  "IPv6 primary address";
17955              }18060              }
17956              leaf secondary-address {18061              leaf secondary-address {
17957                type inet:ipv6-address-no-zone;18062                type inet:ipv6-address-no-zone;
17958                description18063                description
17959                  "IPv6 secondary address";18064                  "IPv6 secondary address";
17960              }18065              }
17961              leaf tertiary-address {18066              leaf tertiary-address {
17962                type inet:ipv6-address-no-zone;18067                type inet:ipv6-address-no-zone;
17963                must "../secondary-address";18068                must "../secondary-address";
17964                description18069                description
17965                  "IPv6 tertiary address";18070                  "IPv6 tertiary address";
17966              }18071              }
17967            }18072            }
17968          }18073          }
17969        }18074        }
17970        container bgp {18075        container bgp {
17971          description18076          description
17972            "BGP commands";18077            "BGP commands";
17973          container auto-policy-soft-reset {18078          container auto-policy-soft-reset {
17974            description18079            description
17975              "Enable automatic soft peer reset on policy reconfiguration";18080              "Enable automatic soft peer reset on policy reconfiguration";
17976            container disable {18081            container disable {
17977              presence "Indicates a disable node is configured.";18082              presence "Indicates a disable node is configured.";
17978              description18083              description
17979                "Disable automatic soft peer reset on policy reconfiguration";18084                "Disable automatic soft peer reset on policy reconfiguration";
17980            }18085            }
17981          }18086          }
17982          container bestpath {18087          container bestpath {
17983            description18088            description
17984              "Change default route selection criteria";18089              "Change default route selection criteria";
17985            container as-path {18090            container as-path {
17986              description18091              description
17987                "AS path length";18092                "AS path length";
17988              container ignore {18093              container ignore {
17989                presence "Indicates a ignore node is configured.";18094                presence "Indicates a ignore node is configured.";
17990                description18095                description
17991                  "Ignore as-path length";18096                  "Ignore as-path length";
17992              }18097              }
17993              container multipath-relax {18098              container multipath-relax {
17994                presence "Indicates a multipath-relax node is configured.";18099                presence "Indicates a multipath-relax node is configured.";
17995                description18100                description
17996                  "Relax as-path check for multipath selection";18101                  "Relax as-path check for multipath selection";
17997              }18102              }
17998            }18103            }
17999            container cost-community {18104            container cost-community {
18000              description18105              description
18001                "Cost community";18106                "Cost community";
18002              container ignore {18107              container ignore {
18003                presence "Indicates a ignore node is configured.";18108                presence "Indicates a ignore node is configured.";
18004                description18109                description
18005                  "Ignore cost-community comparison";18110                  "Ignore cost-community comparison";
18006              }18111              }
18007            }18112            }
18008            container compare-routerid {18113            container compare-routerid {
18009              presence "Indicates a compare-routerid node is configured.";18114              presence "Indicates a compare-routerid node is configured.";
18010              description18115              description
18011                "Compare router-id for identical EBGP paths";18116                "Compare router-id for identical EBGP paths";
18012            }18117            }
18013            container aigp {18118            container aigp {
18014              description18119              description
18015                "AIGP attribute";18120                "AIGP attribute";
18016              container ignore {18121              container ignore {
18017                presence "Indicates a ignore node is configured.";18122                presence "Indicates a ignore node is configured.";
18018                description18123                description
18019                  "Ignore AIGP attribute";18124                  "Ignore AIGP attribute";
18020              }18125              }
18021            }18126            }
18022            container igp-metric {18127            container igp-metric {
18023              description18128              description
18024                "IGP metric values";18129                "IGP metric values";
18025              container ignore {18130              container ignore {
18026                presence "Indicates a ignore node is configured.";18131                presence "Indicates a ignore node is configured.";
18027                description18132                description
18028                  "Ignore IGP metric during path comparison";18133                  "Ignore IGP metric during path comparison";
18029              }18134              }
18030            }18135            }
18031            container med {18136            container med {
18032              description18137              description
18033                "MED related";18138                "MED related";
18034              container always {18139              container always {
18035                presence "Indicates a always node is configured.";18140                presence "Indicates a always node is configured.";
18036                description18141                description
18037                  "Allow comparing MED from different neighbors";18142                  "Allow comparing MED from different neighbors";
18038              }18143              }
18039              container missing-as-worst {18144              container missing-as-worst {
18040                presence "Indicates a missing-as-worst node is configured.";18145                presence "Indicates a missing-as-worst node is configured.";
18041                description18146                description
18042                  "Treat missing MED as the least preferred one";18147                  "Treat missing MED as the least preferred one";
18043              }18148              }
18044            }18149            }
18045            container origin-as {18150            container origin-as {
18046              description18151              description
18047                "BGP origin-AS knobs";18152                "BGP origin-AS knobs";
18048              container use {18153              container use {
18049                description18154                description
18050                  "BGP origin-AS knobs";18155                  "BGP origin-AS knobs";
18051                container validity {18156                container validity {
18052                  presence "Indicates a validity node is configured.";18157                  presence "Indicates a validity node is configured.";
18053                  description18158                  description
18054                    "BGP bestpath selection will use origin-AS validity";18159                    "BGP bestpath selection will use origin-AS validity";
18055                }18160                }
18056              }18161              }
18057              container allow {18162              container allow {
18058                description18163                description
18059                  "BGP origin-AS knobs";18164                  "BGP origin-AS knobs";
18060                container invalid {18165                container invalid {
18061                  presence "Indicates a invalid node is configured.";18166                  presence "Indicates a invalid node is configured.";
18062                  description18167                  description
18063                    "BGP bestpath selection will allow 'invalid' origin-AS";18168                    "BGP bestpath selection will allow 'invalid' origin-AS";
18064                }18169                }
18065              }18170              }
18066            }18171            }
18067            container sr-policy {18172            container sr-policy {
18068              description18173              description
18069                "Paths over SR-policy";18174                "Paths over SR-policy";
18070              container prefer {18175              container prefer {
18071                presence "Indicates a prefer node is configured.";18176                presence "Indicates a prefer node is configured.";
18072                description18177                description
18073                  "Consider only paths over SR Policy for bestpath selection, eBGP no-color eligible";18178                  "Consider only paths over SR Policy for bestpath selection, eBGP no-color eligible";
18074              }18179              }
18075              container force {18180              container force {
18076                must "not(../prefer)";18181                must "not(../prefer)";
18077                presence "Indicates a force node is configured.";18182                presence "Indicates a force node is configured.";
18078                description18183                description
18079                  "Consider only paths over SR Policy for bestpath selection, eBGP no-color ineligible";18184                  "Consider only paths over SR Policy for bestpath selection, eBGP no-color ineligible";
18080              }18185              }
18081            }18186            }
18082          }18187          }
18083          container default {18188          container default {
18084            description18189            description
18085              "Configure default value";18190              "Configure default value";
18086            leaf local-preference {18191            leaf local-preference {
18087              type uint32 {18192              type uint32 {
18088                range "0..4294967295" {18193                range "0..4294967295" {
18089                  description18194                  description
18090                    "Higher = more preferred";18195                    "Higher = more preferred";
18091                }18196                }
18092              }18197              }
18093              description18198              description
18094                "Local preference";18199                "Local preference";
18095            }18200            }
18096          }18201          }
18097          container enforce-first-as {18202          container enforce-first-as {
18098            description18203            description
18099              "Enforce the first AS for EBGP routes";18204              "Enforce the first AS for EBGP routes";
18100            container disable {18205            container disable {
18101              presence "Indicates a disable node is configured.";18206              presence "Indicates a disable node is configured.";
18102              description18207              description
18103                "Disable";18208                "Disable";
18104            }18209            }
18105          }18210          }
18106          container fast-external-fallover {18211          container fast-external-fallover {
18107            description18212            description
18108              "Immediately reset session if a link to a directly connected external peer goes down";18213              "Immediately reset session if a link to a directly connected external peer goes down";
18109            container disable {18214            container disable {
18110              presence "Indicates a disable node is configured.";18215              presence "Indicates a disable node is configured.";
18111              description18216              description
18112                "Disable";18217                "Disable";
18113            }18218            }
18114          }18219          }
18115          container log {18220          container log {
18116            description18221            description
18117              "Log bgp info";18222              "Log bgp info";
18118            container neighbor {18223            container neighbor {
18119              description18224              description
18120                "Log neighbor state info";18225                "Log neighbor state info";
18121              container changes {18226              container changes {
18122                description18227                description
18123                  "Log neighbor up/down and reset reason";18228                  "Log neighbor up/down and reset reason";
18124                container disable {18229                container disable {
18125                  presence "Indicates a disable node is configured.";18230                  presence "Indicates a disable node is configured.";
18126                  description18231                  description
18127                    "Disable logging";18232                    "Disable logging";
18128                }18233                }
18129              }18234              }
18130            }18235            }
18131            container message {18236            container message {
18132              description18237              description
18133                "Log neighbor inbound/outbound message";18238                "Log neighbor inbound/outbound message";
18134              container disable {18239              container disable {
18135                presence "Indicates a disable node is configured.";18240                presence "Indicates a disable node is configured.";
18136                description18241                description
18137                  "Disable inbound and outbound message logging for all neighbors under the vrf";18242                  "Disable inbound and outbound message logging for all neighbors under the vrf";
18138              }18243              }
18139            }18244            }
18140          }18245          }
18141          container multipath {18246          container multipath {
18142            description18247            description
18143              "Change multipath selection criteria";18248              "Change multipath selection criteria";
18144            container as-path {18249            container as-path {
18145              description18250              description
18146                "AS path";18251                "AS path";
18147              container ignore {18252              container ignore {
18148                description18253                description
18149                  "Ignore as-path related check for multipath selection";18254                  "Ignore as-path related check for multipath selection";
18150                container exact-match {18255                container exact-match {
18151                  presence "Indicates a exact-match node is configured.";18256                  presence "Indicates a exact-match node is configured.";
18152                  description18257                  description
18153                    "Ignore as-path for multipath selection";18258                    "Ignore as-path for multipath selection";
18154                }18259                }
18155                container onwards {18260                container onwards {
18156                  presence "Indicates a onwards node is configured.";18261                  presence "Indicates a onwards node is configured.";
18157                  description18262                  description
18158                    "Ignore everything onwards as-path for multipath selection";18263                    "Ignore everything onwards as-path for multipath selection";
18159                }18264                }
18160              }18265              }
18161            }18266            }
18162          }18267          }
18163          container redistribute-internal {18268          container redistribute-internal {
18164            presence "Indicates a redistribute-internal node is configured.";18269            presence "Indicates a redistribute-internal node is configured.";
18165            description18270            description
18166              "Allow redistribution of iBGP into IGPs (dangerous)";18271              "Allow redistribution of iBGP into IGPs (dangerous)";
18167          }18272          }
18168          leaf router-id {18273          leaf router-id {
18169            type inet:ipv4-address-no-zone;18274            type inet:ipv4-address-no-zone;
18170            description18275            description
18171              "Configure Router-id";18276              "Configure Router-id";
18172          }18277          }
18173          container unsafe-ebgp-policy {18278          container unsafe-ebgp-policy {
18174            presence "Indicates a unsafe-ebgp-policy node is configured.";18279            presence "Indicates a unsafe-ebgp-policy node is configured.";
18175            description18280            description
18176              "Make eBGP neighbors with no policy pass all routes";18281              "Make eBGP neighbors with no policy pass all routes";
18177          }18282          }
18178          container origin-as {18283          container origin-as {
18179            description18284            description
18180              "BGP origin-AS knobs";18285              "BGP origin-AS knobs";
18181            container validation {18286            container validation {
18182              description18287              description
18183                "BGP origin-AS validation knobs";18288                "BGP origin-AS validation knobs";
18184              container signal {18289              container signal {
18185                description18290                description
18186                  "Signal origin-AS validity towards peers";18291                  "Signal origin-AS validity towards peers";
18187                container ibgp {18292                container ibgp {
18188                  presence "Indicates a ibgp node is configured.";18293                  presence "Indicates a ibgp node is configured.";
18189                  description18294                  description
18190                    "Signal origin-AS validity towards iBGP peers";18295                    "Signal origin-AS validity towards iBGP peers";
18191                }18296                }
18192              }18297              }
18193              container disable {18298              container disable {
18194                presence "Indicates a disable node is configured.";18299                presence "Indicates a disable node is configured.";
18195                description18300                description
18196                  "Disable RPKI origin-AS validation";18301                  "Disable RPKI origin-AS validation";
18197              }18302              }
18198            }18303            }
18199          }18304          }
18200        }18305        }
18201        container bfd {18306        container bfd {
18202          description18307          description
18203            "Configure BFD parameters";18308            "Configure BFD parameters";
18204          leaf minimum-interval {18309          leaf minimum-interval {
18205            type uint32 {18310            type uint32 {
18206              range "3..30000" {18311              range "3..30000" {
18207                description18312                description
18208                  "hello interval in milli-seconds";18313                  "hello interval in milli-seconds";
18209              }18314              }
18210            }18315            }
18211            description18316            description
18212              "Hello interval";18317              "Hello interval";
18213          }18318          }
18214          leaf multiplier {18319          leaf multiplier {
18215            type uint32 {18320            type uint32 {
18216              range "2..16" {18321              range "2..16" {
18217                description18322                description
18218                  "Detect multiplier";18323                  "Detect multiplier";
18219              }18324              }
18220            }18325            }
18221            description18326            description
18222              "Detect multiplier";18327              "Detect multiplier";
18223          }18328          }
18224        }18329        }
18225        container rd {18330        container rd {
18226          must "auto or two-byte-as or four-byte-as or ip-address";18331          must "auto or two-byte-as or four-byte-as or ip-address";
18227          presence "Indicates a rd node is configured.";18332          presence "Indicates a rd node is configured.";
18228          description18333          description
18229            "route distinguisher";18334            "route distinguisher";
18230          container auto {18335          container auto {
18231            must "not(../two-byte-as or ../four-byte-as or ../ip-address)";18336            must "not(../two-byte-as or ../four-byte-as or ../ip-address)";
18232            presence "Indicates a auto node is configured.";18337            presence "Indicates a auto node is configured.";
18233            description18338            description
18234              "Automatic route distinguisher";18339              "Automatic route distinguisher";
18235          }18340          }
18236          container two-byte-as {18341          container two-byte-as {
18237            must "not(../auto or ../four-byte-as or ../ip-address)";18342            must "not(../auto or ../four-byte-as or ../ip-address)";
18238            presence "Indicates a two-byte-as node is configured.";18343            presence "Indicates a two-byte-as node is configured.";
18239            description18344            description
18240              "two-byte-as route distinguisher";18345              "two-byte-as route distinguisher";
18241            leaf as-number {18346            leaf as-number {
18242              type xr:Bgp-as-number;18347              type xr:Bgp-as-number;
18243              mandatory true;18348              mandatory true;
18244              description18349              description
18245                "bgp as-number";18350                "bgp as-number";
18246            }18351            }
18247            leaf index {18352            leaf index {
18248              type uint32 {18353              type uint32 {
18249                range "0..4294967295" {18354                range "0..4294967295" {
18250                  description18355                  description
18251                    "ASN2:index (hex or decimal format)";18356                    "ASN2:index (hex or decimal format)";
18252                }18357                }
18253              }18358              }
18254              mandatory true;18359              mandatory true;
18255              description18360              description
18256                "ASN2:index (hex or decimal format)";18361                "ASN2:index (hex or decimal format)";
18257            }18362            }
18258          }18363          }
18259          container four-byte-as {18364          container four-byte-as {
18260            must "not(../auto or ../two-byte-as or ../ip-address)";18365            must "not(../auto or ../two-byte-as or ../ip-address)";
18261            presence "Indicates a four-byte-as node is configured.";18366            presence "Indicates a four-byte-as node is configured.";
18262            description18367            description
18263              "four-byte-as route distinguisher";18368              "four-byte-as route distinguisher";
18264            leaf as-number {18369            leaf as-number {
18265              type xr:Bgp-as-number;18370              type xr:Bgp-as-number;
18266              mandatory true;18371              mandatory true;
18267              description18372              description
18268                "4-byte AS number";18373                "4-byte AS number";
18269            }18374            }
18270            leaf index {18375            leaf index {
18271              type uint32 {18376              type uint32 {
18272                range "0..4294967295" {18377                range "0..4294967295" {
18273                  description18378                  description
18274                    "ASN2:index (hex or decimal format)";18379                    "ASN2:index (hex or decimal format)";
18275                }18380                }
18276              }18381              }
18277              mandatory true;18382              mandatory true;
18278              description18383              description
18279                "ASN2:index (hex or decimal format)";18384                "ASN2:index (hex or decimal format)";
18280            }18385            }
18281          }18386          }
18282          container ip-address {18387          container ip-address {
18283            must "not(../auto or ../two-byte-as or ../four-byte-as)";18388            must "not(../auto or ../two-byte-as or ../four-byte-as)";
18284            presence "Indicates a ip-address node is configured.";18389            presence "Indicates a ip-address node is configured.";
18285            description18390            description
18286              "configure this node";18391              "configure this node";
18287            leaf ipv4-address {18392            leaf ipv4-address {
18288              type inet:ipv4-address-no-zone;18393              type inet:ipv4-address-no-zone;
18289              mandatory true;18394              mandatory true;
18290              description18395              description
18291                "configure this node";18396                "configure this node";
18292            }18397            }
18293            leaf index {18398            leaf index {
18294              type uint32 {18399              type uint32 {
18295                range "0..65535" {18400                range "0..65535" {
18296                  description18401                  description
18297                    "IPv4Address:index (hex or decimal format)";18402                    "IPv4Address:index (hex or decimal format)";
18298                }18403                }
18299              }18404              }
18300              mandatory true;18405              mandatory true;
18301              description18406              description
18302                "IPv4Address:index (hex or decimal format)";18407                "IPv4Address:index (hex or decimal format)";
18303            }18408            }
18304          }18409          }
18305        }18410        }
18306      }18411      }
18307    }18412    }
18308  }18413  }
1830918414
18310  augment "/a1:snmp-server/a1:traps" {18415  augment "/a1:snmp-server/a1:traps" {
18311    description18416    description
18312      "This augment extends snmp-server traps nodes18417      "This augment extends snmp-server traps nodes
18313       configuration";18418       configuration";
18314    container bgp {18419    container bgp {
18315      description18420      description
18316        "Enable BGP traps";18421        "Enable BGP traps";
18317      container bgp4-mib {18422      container bgp4-mib {
18318        presence "Indicates a bgp4-mib node is configured.";18423        presence "Indicates a bgp4-mib node is configured.";
18319        description18424        description
18320          "Enable BGP4-MIB and CISCO-BGP4-MIB traps";18425          "Enable BGP4-MIB and CISCO-BGP4-MIB traps";
18321      }18426      }
18322      container bgp4-mib-updown {18427      container bgp4-mib-updown {
18323        presence "Indicates a updown node is configured.";18428        presence "Indicates a updown node is configured.";
18324        description18429        description
18325          "Enable CISCO-BGP4-MIB v2 up/down traps";18430          "Enable CISCO-BGP4-MIB v2 up/down traps";
18326      }18431      }
18327      container cbgp2 {18432      container cbgp2 {
18328        presence "Indicates a cbgp2 node is configured.";18433        presence "Indicates a cbgp2 node is configured.";
18329        description18434        description
18330          "Enable CISCO-BGP4-MIB v2 traps";18435          "Enable CISCO-BGP4-MIB v2 traps";
18331      }18436      }
18332      container cbgp2-updown {18437      container cbgp2-updown {
18333        presence "Indicates a updown node is configured.";18438        presence "Indicates a updown node is configured.";
18334        description18439        description
18335          "Enable CISCO-BGP4-MIB v2 up/down traps";18440          "Enable CISCO-BGP4-MIB v2 up/down traps";
18336      }18441      }
18337    }18442    }
18338  }18443  }
18339  augment "/a2:vrfs/a2:vrf/a2:address-family/a2:ipv4/a2:unicast" {18444  augment "/a2:vrfs/a2:vrf/a2:address-family/a2:ipv4/a2:unicast" {
18340    description18445    description
18341      "This augment extends vrf ipv4 unicast nodes18446      "This augment extends vrf ipv4 unicast nodes
18342       configuration";18447       configuration";
18343    uses VRF-COMMON;18448    uses VRF-COMMON;
18344  }18449  }
18345  augment "/a2:vrfs/a2:vrf/a2:address-family/a2:ipv4/a2:multicast" {18450  augment "/a2:vrfs/a2:vrf/a2:address-family/a2:ipv4/a2:multicast" {
18346    description18451    description
18347      "This augment extends vrf ipv4 multicast nodes18452      "This augment extends vrf ipv4 multicast nodes
18348       configuration";18453       configuration";
18349    uses VRF-COMMON;18454    uses VRF-COMMON;
18350  }18455  }
18351  augment "/a2:vrfs/a2:vrf/a2:address-family/a2:ipv4/a2:flowspec" {18456  augment "/a2:vrfs/a2:vrf/a2:address-family/a2:ipv4/a2:flowspec" {
18352    description18457    description
18353      "This augment extends vrf ipv4 flowspec nodes18458      "This augment extends vrf ipv4 flowspec nodes
18354       configuration";18459       configuration";
18355    uses VRF-COMMON;18460    uses VRF-COMMON;
18356  }18461  }
18357  augment "/a2:vrfs/a2:vrf/a2:address-family/a2:ipv6/a2:unicast" {18462  augment "/a2:vrfs/a2:vrf/a2:address-family/a2:ipv6/a2:unicast" {
18358    description18463    description
18359      "This augment extends vrf ipv6 unicast nodes18464      "This augment extends vrf ipv6 unicast nodes
18360       configuration";18465       configuration";
18361    uses VRF-COMMON;18466    uses VRF-COMMON;
18362  }18467  }
18363  augment "/a2:vrfs/a2:vrf/a2:address-family/a2:ipv6/a2:multicast" {18468  augment "/a2:vrfs/a2:vrf/a2:address-family/a2:ipv6/a2:multicast" {
18364    description18469    description
18365      "This augment extends vrf ipv6 multicast nodes18470      "This augment extends vrf ipv6 multicast nodes
18366       configuration";18471       configuration";
18367    uses VRF-COMMON;18472    uses VRF-COMMON;
18368  }18473  }
18369  augment "/a2:vrfs/a2:vrf/a2:address-family/a2:ipv6/a2:flowspec" {18474  augment "/a2:vrfs/a2:vrf/a2:address-family/a2:ipv6/a2:flowspec" {
18370    description18475    description
18371      "This augment extends vrf ipv6 flowspec nodes18476      "This augment extends vrf ipv6 flowspec nodes
18372       configuration";18477       configuration";
18373    uses VRF-COMMON;18478    uses VRF-COMMON;
18374  }18479  }
18375  augment "/a2:vrfs/a2:vrf" {18480  augment "/a2:vrfs/a2:vrf" {
18376    description18481    description
18377      "This augment extends vrf nodes18482      "This augment extends vrf nodes
18378       configuration";18483       configuration";
18379    uses VRF-RD;18484    uses VRF-RD;
18380  }18485  }
18381  container as-format {18486  container as-format {
18382    description18487    description
18383      "Autonomous system number format";18488      "Autonomous system number format";
18384    container asdot {18489    container asdot {
18385      must "not(../asplain)";18490      must "not(../asplain)";
18386      presence "Indicates a asdot node is configured.";18491      presence "Indicates a asdot node is configured.";
18387      description18492      description
18388        "AS Dot format";18493        "AS Dot format";
18389    }18494    }
18390    container asplain {18495    container asplain {
18391      must "not(../asdot)";18496      must "not(../asdot)";
18392      presence "Indicates a asplain node is configured.";18497      presence "Indicates a asplain node is configured.";
18393      description18498      description
18394        "AS Plain format";18499        "AS Plain format";
18395    }18500    }
18396  }18501  }
18397  container bmp {18502  container bmp {
18398    description18503    description
18399      "BGP Monitoring Protocol commands";18504      "BGP Monitoring Protocol commands";
18400    container servers {18505    container servers {
18401      description18506      description
18402        "BMP server configuration";18507        "BMP server configuration";
18403      list server {18508      list server {
18404        key "bmp-server-id";18509        key "bmp-server-id";
18405        description18510        description
18406          "BMP server ID to configure";18511          "BMP server ID to configure";
18407        leaf bmp-server-id {18512        leaf bmp-server-id {
18408          type uint32 {18513          type uint32 {
18409            range "1..8" {18514            range "1..8" {
18410              description18515              description
18411                "BMP server ID to configure";18516                "BMP server ID to configure";
18412            }18517            }
18413          }18518          }
18414          description18519          description
18415            "BMP server ID to configure";18520            "BMP server ID to configure";
18416        }18521        }
18417        container shutdown {18522        container shutdown {
18418          presence "Indicates a shutdown node is configured.";18523          presence "Indicates a shutdown node is configured.";
18419          description18524          description
18420            "Shutdown connection to BMP server";18525            "Shutdown connection to BMP server";
18421        }18526        }
18422        container host {18527        container host {
18423          presence "Indicates a host node is configured.";18528          presence "Indicates a host node is configured.";
18424          description18529          description
18425            "Hostname of BMP Server";18530            "Hostname of BMP Server";
18426          leaf host-name {18531          leaf host-name {
18427            type string {18532            type string {
18428              length "1..1024" {18533              length "1..1024" {
18429                description18534                description
18430                  "Name of the BMP server(accepts IP Address format too)";18535                  "Name of the BMP server(accepts IP Address format too)";
18431              }18536              }
18432            }18537            }
18433            mandatory true;18538            mandatory true;
18434            description18539            description
18435              "Hostname of BMP Server";18540              "Hostname of BMP Server";
18436          }18541          }
18437          leaf port {18542          leaf port {
18438            type uint32 {18543            type uint32 {
18439              range "1..65535" {18544              range "1..65535" {
18440                description18545                description
18441                  "Port Number of listening BMP server";18546                  "Port Number of listening BMP server";
18442              }18547              }
18443            }18548            }
18444            description18549            description
18445              "BMP Server Listen Port";18550              "BMP Server Listen Port";
18446          }18551          }
18447        }18552        }
18448        leaf initial-delay {18553        leaf initial-delay {
18449          type uint32 {18554          type uint32 {
18450            range "1..3600" {18555            range "1..3600" {
18451              description18556              description
18452                "Initial connect delay in sending BMP server updates";18557                "Initial connect delay in sending BMP server updates";
18453            }18558            }
18454          }18559          }
18455          description18560          description
18456            "Initial connect delay in sending BMP server updates. Default=0";18561            "Initial connect delay in sending BMP server updates. Default=0";
18457        }18562        }
18458        leaf flapping-delay {18563        leaf flapping-delay {
18459          type uint32 {18564          type uint32 {
18460            range "60..3600" {18565            range "60..3600" {
18461              description18566              description
18462                "Range in seconds for the connection delay after flap";18567                "Range in seconds for the connection delay after flap";
18463            }18568            }
18464          }18569          }
18465          description18570          description
18466            "delay in connecting to BMP Server after a flap had been detected. Default=300";18571            "delay in connecting to BMP Server after a flap had been detected. Default=300";
18467        }18572        }
18468        leaf max-buffer-size {18573        leaf max-buffer-size {
18469          type uint32 {18574          type uint32 {
18470            range "1..4294967295" {18575            range "1..4294967295" {
18471              description18576              description
18472                "Range in MegaBytes for the maximum buffer size of BMP message queue.";18577                "Range in MegaBytes for the maximum buffer size of BMP message queue.";
18473            }18578            }
18474          }18579          }
18475          description18580          description
18476            "Set BMP message buffer size";18581            "Set BMP message buffer size";
18477        }18582        }
18478        container initial-refresh {18583        container initial-refresh {
18479          description18584          description
18480            "Initial refresh to generate BGP updates. DEfault=1";18585            "Initial refresh to generate BGP updates. DEfault=1";
18481          container delay {18586          container delay {
18482            presence "Indicates a delay node is configured.";18587            presence "Indicates a delay node is configured.";
18483            description18588            description
18484              "Initial delay before sending route refresh request";18589              "Initial delay before sending route refresh request";
18485            leaf initial-delay {18590            leaf initial-delay {
18486              type uint32 {18591              type uint32 {
18487                range "1..3600" {18592                range "1..3600" {
18488                  description18593                  description
18489                    "Delay in sending Refresh request to Peers (default : 30 secs)";18594                    "Delay in sending Refresh request to Peers (default : 30 secs)";
18490                }18595                }
18491              }18596              }
18492              mandatory true;18597              mandatory true;
18493              description18598              description
18494                "Initial delay before sending route refresh request";18599                "Initial delay before sending route refresh request";
18495            }18600            }
18496            leaf spread {18601            leaf spread {
18497              type uint32 {18602              type uint32 {
18498                range "1..3600" {18603                range "1..3600" {
18499                  description18604                  description
18500                    "Maximum additional random delay (in secs)";18605                    "Maximum additional random delay (in secs)";
18501                }18606                }
18502              }18607              }
18503              description18608              description
18504                "Maximum additional random delay for initial Refresh Request";18609                "Maximum additional random delay for initial Refresh Request";
18505            }18610            }
18506          }18611          }
18507          container skip {18612          container skip {
18508            presence "Indicates a skip node is configured.";18613            presence "Indicates a skip node is configured.";
18509            description18614            description
18510              "Skip sending Refresh request to Peers";18615              "Skip sending Refresh request to Peers";
18511          }18616          }
18512        }18617        }
18513        leaf stats-reporting-period {18618        leaf stats-reporting-period {
18514          type uint32 {18619          type uint32 {
18515            range "1..3600" {18620            range "1..3600" {
18516              description18621              description
18517                "Stats-report-period in seconds";18622                "Stats-report-period in seconds";
18518            }18623            }
18519          }18624          }
18520          description18625          description
18521            "Stats reporting period for BMP server. Default=0";18626            "Stats reporting period for BMP server. Default=0";
18522        }18627        }
18523        leaf description {18628        leaf description {
18524          type string {18629          type string {
18525            length "1..1024" {18630            length "1..1024" {
18526              description18631              description
18527                "Up to 250 characters describing this BMP server";18632                "Up to 250 characters describing this BMP server";
18528            }18633            }
18529          }18634          }
18530          description18635          description
18531            "BMP server specific description";18636            "BMP server specific description";
18532        }18637        }
18533        leaf dscp {18638        leaf dscp {
18534          type enumeration {18639          type enumeration {
18535            enum "default" {18640            enum "default" {
18536              value 0;18641              value 0;
18537              description18642              description
18538                "Set packets with default dscp (000000)";18643                "Set packets with default dscp (000000)";
18539            }18644            }
18540            enum "cs1" {18645            enum "cs1" {
18541              value 8;18646              value 8;
18542              description18647              description
18543                "Set packets with CS1(precedence 1) dscp (001000)";18648                "Set packets with CS1(precedence 1) dscp (001000)";
18544            }18649            }
18545            enum "af11" {18650            enum "af11" {
18546              value 10;18651              value 10;
18547              description18652              description
18548                "Set packets with AF11 dscp (001010)";18653                "Set packets with AF11 dscp (001010)";
18549            }18654            }
18550            enum "af12" {18655            enum "af12" {
18551              value 12;18656              value 12;
18552              description18657              description
18553                "Set packets with AF12 dscp (001100)";18658                "Set packets with AF12 dscp (001100)";
18554            }18659            }
18555            enum "af13" {18660            enum "af13" {
18556              value 14;18661              value 14;
18557              description18662              description
18558                "Set packets with AF13 dscp (001110)";18663                "Set packets with AF13 dscp (001110)";
18559            }18664            }
18560            enum "cs2" {18665            enum "cs2" {
18561              value 16;18666              value 16;
18562              description18667              description
18563                "Set packets with CS2(precedence 2) dscp (010000)";18668                "Set packets with CS2(precedence 2) dscp (010000)";
18564            }18669            }
18565            enum "af21" {18670            enum "af21" {
18566              value 18;18671              value 18;
18567              description18672              description
18568                "Set packets with AF21 dscp (010010)";18673                "Set packets with AF21 dscp (010010)";
18569            }18674            }
18570            enum "af22" {18675            enum "af22" {
18571              value 20;18676              value 20;
18572              description18677              description
18573                "Set packets with AF22 dscp (010100)";18678                "Set packets with AF22 dscp (010100)";
18574            }18679            }
18575            enum "af23" {18680            enum "af23" {
18576              value 22;18681              value 22;
18577              description18682              description
18578                "Set packets with AF23 dscp (010110)";18683                "Set packets with AF23 dscp (010110)";
18579            }18684            }
18580            enum "cs3" {18685            enum "cs3" {
18581              value 24;18686              value 24;
18582              description18687              description
18583                "Set packets with CS3(precedence 3) dscp (011000)";18688                "Set packets with CS3(precedence 3) dscp (011000)";
18584            }18689            }
18585            enum "af31" {18690            enum "af31" {
18586              value 26;18691              value 26;
18587              description18692              description
18588                "Set packets with AF31 dscp (011010)";18693                "Set packets with AF31 dscp (011010)";
18589            }18694            }
18590            enum "af32" {18695            enum "af32" {
18591              value 28;18696              value 28;
18592              description18697              description
18593                "Set packets with AF32 dscp (011100)";18698                "Set packets with AF32 dscp (011100)";
18594            }18699            }
18595            enum "af33" {18700            enum "af33" {
18596              value 30;18701              value 30;
18597              description18702              description
18598                "Set packets with AF33 dscp (011110)";18703                "Set packets with AF33 dscp (011110)";
18599            }18704            }
18600            enum "cs4" {18705            enum "cs4" {
18601              value 32;18706              value 32;
18602              description18707              description
18603                "Set packets with CS4(precedence 4) dscp (100000)";18708                "Set packets with CS4(precedence 4) dscp (100000)";
18604            }18709            }
18605            enum "af41" {18710            enum "af41" {
18606              value 34;18711              value 34;
18607              description18712              description
18608                "Set packets with AF41 dscp (100010)";18713                "Set packets with AF41 dscp (100010)";
18609            }18714            }
18610            enum "af42" {18715            enum "af42" {
18611              value 36;18716              value 36;
18612              description18717              description
18613                "Set packets with AF42 dscp (100100)";18718                "Set packets with AF42 dscp (100100)";
18614            }18719            }
18615            enum "af43" {18720            enum "af43" {
18616              value 38;18721              value 38;
18617              description18722              description
18618                "Set packets with AF43 dscp (100110)";18723                "Set packets with AF43 dscp (100110)";
18619            }18724            }
18620            enum "cs5" {18725            enum "cs5" {
18621              value 40;18726              value 40;
18622              description18727              description
18623                "Set packets with CS5(precedence 5) dscp (101000)";18728                "Set packets with CS5(precedence 5) dscp (101000)";
18624            }18729            }
18625            enum "ef" {18730            enum "ef" {
18626              value 46;18731              value 46;
18627              description18732              description
18628                "Set packets with EF dscp (101110)";18733                "Set packets with EF dscp (101110)";
18629            }18734            }
18630            enum "cs6" {18735            enum "cs6" {
18631              value 48;18736              value 48;
18632              description18737              description
18633                "Set packets with CS6(precedence 6) dscp (110000)";18738                "Set packets with CS6(precedence 6) dscp (110000)";
18634            }18739            }
18635            enum "cs7" {18740            enum "cs7" {
18636              value 56;18741              value 56;
18637              description18742              description
18638                "Set packets with CS7(precedence 7) dscp (111000)";18743                "Set packets with CS7(precedence 7) dscp (111000)";
18639            }18744            }
18640          }18745          }
18641          description18746          description
18642            "Set IP DSCP (DiffServ CodePoint)";18747            "Set IP DSCP (DiffServ CodePoint)";
18643        }18748        }
18644        leaf precedence {18749        leaf precedence {
18645          type enumeration {18750          type enumeration {
18646            enum "routine" {18751            enum "routine" {
18647              value 0;18752              value 0;
18648              description18753              description
18649                "Set packets with routine precedence (0)";18754                "Set packets with routine precedence (0)";
18650            }18755            }
18651            enum "priority" {18756            enum "priority" {
18652              value 1;18757              value 1;
18653              description18758              description
18654                "Set packets with priority precedence (1)";18759                "Set packets with priority precedence (1)";
18655            }18760            }
18656            enum "immediate" {18761            enum "immediate" {
18657              value 2;18762              value 2;
18658              description18763              description
18659                "Set packets with immediate precedence (2)";18764                "Set packets with immediate precedence (2)";
18660            }18765            }
18661            enum "flash" {18766            enum "flash" {
18662              value 3;18767              value 3;
18663              description18768              description
18664                "Set packets with flash precedence (3)";18769                "Set packets with flash precedence (3)";
18665            }18770            }
18666            enum "flash-override" {18771            enum "flash-override" {
18667              value 4;18772              value 4;
18668              description18773              description
18669                "Set packets with flash override precedence (4)";18774                "Set packets with flash override precedence (4)";
18670            }18775            }
18671            enum "critical" {18776            enum "critical" {
18672              value 5;18777              value 5;
18673              description18778              description
18674                "Set packets with critical precedence (5)";18779                "Set packets with critical precedence (5)";
18675            }18780            }
18676            enum "internet" {18781            enum "internet" {
18677              value 6;18782              value 6;
18678              description18783              description
18679                "Set packets with internetwork control precedence (6)";18784                "Set packets with internetwork control precedence (6)";
18680            }18785            }
18681            enum "network" {18786            enum "network" {
18682              value 7;18787              value 7;
18683              description18788              description
18684                "Set packets with network control precedence (7)";18789                "Set packets with network control precedence (7)";
18685            }18790            }
18686          }18791          }
18687          description18792          description
18688            "Set precedence";18793            "Set precedence";
18689        }18794        }
18690        leaf update-source {18795        leaf update-source {
18691          type xr:Interface-name;18796          type xr:Interface-name;
18692          description18797          description
18693            "Source to reach BMP server";18798            "Source to reach BMP server";
18694        }18799        }
18695        leaf vrf {18800        leaf vrf {
18696          type string {18801          type string {
18697            length "1..1024" {18802            length "1..1024" {
18698              description18803              description
18699                "VRF Name";18804                "VRF Name";
18700            }18805            }
18701          }18806          }
18702          description18807          description
18703            "VRF for the BMP server";18808            "VRF for the BMP server";
18704        }18809        }
18705        container tcp {18810        container tcp {
18706          description18811          description
18707            "Configure TCP related parameters";18812            "Configure TCP related parameters";
18708          leaf keep-alive {18813          leaf keep-alive {
18709            type uint32 {18814            type uint32 {
18710              range "0..7200" {18815              range "0..7200" {
18711                description18816                description
18712                  "Keep Alive interval in seconds";18817                  "Keep Alive interval in seconds";
18713              }18818              }
18714            }18819            }
18715            description18820            description
18716              "configure TCP keep alives to be exchanged between client and server";18821              "configure TCP keep alives to be exchanged between client and server";
18717          }18822          }
18718          leaf mss {18823          leaf mss {
18719            type uint32 {18824            type uint32 {
18720              range "68..10000" {18825              range "68..10000" {
18721                description18826                description
18722                  "TCP segment size in bytes";18827                  "TCP segment size in bytes";
18723              }18828              }
18724            }18829            }
18725            description18830            description
18726              "configure TCP maximum segment size";18831              "configure TCP maximum segment size";
18727          }18832          }
18728        }18833        }
18729      }18834      }
18730      container all {18835      container all {
18731        description18836        description
18732          "Common commands for all BMP servers";18837          "Common commands for all BMP servers";
18733        leaf max-buffer-size {18838        leaf max-buffer-size {
18734          type uint32 {18839          type uint32 {
18735            range "1..4294967295" {18840            range "1..4294967295" {
18736              description18841              description
18737                "Range in MegaBytes for the maximum buffer size of BMP message queue.";18842                "Range in MegaBytes for the maximum buffer size of BMP message queue.";
18738            }18843            }
18739          }18844          }
18740          description18845          description
18741            "Maximum buffer limit upto which BMP messages will be queued to TCP sockets.18846            "Maximum buffer limit upto which BMP messages will be queued to TCP sockets.
18742             If total size of BMP messages queued up for BMP sockets exceeds this set limit,18847             If total size of BMP messages queued up for BMP sockets exceeds this set limit,
18743             messages will be dropped. The maximum buf-size is 20% and default buf-size is 15%18848             messages will be dropped. The maximum buf-size is 20% and default buf-size is 15%
18744             of the platform virtual memory max-limit (aka rlimit). Please run18849             of the platform virtual memory max-limit (aka rlimit). Please run
18745             show bgp process performance-statistics18850             show bgp process performance-statistics
18746             to see the individual values. Unit is in MegaBytes.";18851             to see the individual values. Unit is in MegaBytes.";
18747        }18852        }
18748        container route-monitoring {18853        container route-monitoring {
18749          description18854          description
18750            "Enable Route Monitoring capability for the BMP servers.18855            "Enable Route Monitoring capability for the BMP servers.
18751             BGP update messages will be regenerated with a table walk18856             BGP update messages will be regenerated with a table walk
18752            ";18857            ";
18753          container bmp-modes {18858          container bmp-modes {
18754            description18859            description
18755              "Enter BMP route monitoring command mode";18860              "Enter BMP route monitoring command mode";
18756            list bmp-mode {18861            list bmp-mode {
18757              key "mode-name";18862              key "mode-name";
18758              description18863              description
18759                "Enter BMP route monitoring command mode";18864                "Enter BMP route monitoring command mode";
18760              leaf mode-name {18865              leaf mode-name {
18761                type Bmp-mode;18866                type Bmp-mode;
18762                description18867                description
18763                  "Enter BMP route monitoring command mode";18868                  "Enter BMP route monitoring command mode";
18764              }18869              }
18765              leaf advertisement-interval {18870              leaf advertisement-interval {
18766                when "../mode-name = 'inbound-post-policy' or ../mode-name = 'local-rib'";18871                when "../mode-name = 'inbound-post-policy' or ../mode-name = 'local-rib'";
18767                type uint32 {18872                type uint32 {
18768                  range "2..600" {18873                  range "2..600" {
18769                    description18874                    description
18770                      "Time in seconds";18875                      "Time in seconds";
18771                  }18876                  }
18772                }18877                }
18773                description18878                description
18774                  "Minimum interval between updates sent to BMP servers";18879                  "Minimum interval between updates sent to BMP servers";
18775              }18880              }
18776              leaf scan-time {18881              leaf scan-time {
18777                when "../mode-name = 'inbound-post-policy'";18882                when "../mode-name = 'inbound-post-policy'";
18778                type uint32 {18883                type uint32 {
18779                  range "5..3600" {18884                  range "5..3600" {
18780                    description18885                    description
18781                      "Time in seconds";18886                      "Time in seconds";
18782                  }18887                  }
18783                }18888                }
18784                description18889                description
18785                  "Configure scanner interval";18890                  "Configure scanner interval";
18786              }18891              }
18787            }18892            }
18788          }18893          }
18789        }18894        }
18790      }18895      }
18791    }18896    }
18792  }18897  }
18793  container router {18898  container router {
18794    description18899    description
18795      "Enable a routing process";18900      "Enable a routing process";
18796    container bgp {18901    container bgp {
18797      description18902      description
18798        "BGP configuration subcommands";18903        "BGP configuration subcommands";
18799      container instances {18904      container instances {
18800        description18905        description
18801          "Specify a instance name";18906          "Specify a instance name";
18802        list instance {18907        list instance {
18803          must "as";18908          must "as";
18804          key "instance-name";18909          key "instance-name";
18805          description18910          description
18806            "Specify a instance name";18911            "Specify a instance name";
18807          leaf instance-name {18912          leaf instance-name {
18808            type xr:Cisco-ios-xr-string {18913            type xr:Cisco-ios-xr-string {
18809              length "1..32" {18914              length "1..32" {
18810                description18915                description
18811                  "instance name (maximum length 32 characters)";18916                  "instance name (maximum length 32 characters)";
18812              }18917              }
18813            }18918            }
18814            description18919            description
18815              "Specify a instance name";18920              "Specify a instance name";
18816          }18921          }
18817          list as {18922          list as {
18818            key "as-number";18923            key "as-number";
18819            description18924            description
18820              "bgp as-number";18925              "bgp as-number";
18821            leaf as-number {18926            leaf as-number {
18822              type xr:Bgp-as-number;18927              type xr:Bgp-as-number;
18823              description18928              description
18824                "bgp as-number";18929                "bgp as-number";
18825            }18930            }
18826            uses AS-COMMON;18931            uses AS-COMMON;
18827          }18932          }
18828        }18933        }
18829      }18934      }
18830      list as {18935      list as {
18831        key "as-number";18936        key "as-number";
18832        description18937        description
18833          "bgp as-number";18938          "bgp as-number";
18834        leaf as-number {18939        leaf as-number {
18835          type xr:Bgp-as-number;18940          type xr:Bgp-as-number;
18836          description18941          description
18837            "bgp as-number";18942            "bgp as-number";
18838        }18943        }
18839        uses AS-COMMON;18944        uses AS-COMMON;
18840      }18945      }
18841    }18946    }
18842  }18947  }
18843}18948}
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op